javaescript

This commit is contained in:
Sakooooo 2023-09-09 07:04:45 +00:00
parent c85ad92b1c
commit b831a6011d
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 20 additions and 1 deletions

View file

@ -34,6 +34,11 @@ M-x org-bable-tangle
(setq visible-bell t)
#+end_src
* Keymaps
#+begin_src emacs-lisp
(global-set-key (kbd "C-M-j") 'counsel-switch-buffer)
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
#+end_src
* Fonts
#+begin_src emacs-lisp
@ -362,7 +367,7 @@ make sure to setup authinfo
(setq auth-sources '("~/.authinfo"))
#+end_src
**** Lsp-mode
***** Inital Setup
***** Language Servers
#+begin_src emacs-lisp
(use-package lsp-mode
:commands (lsp lsp-deferred)
@ -371,6 +376,13 @@ make sure to setup authinfo
:config
(lsp-enable-which-key-integration t))
#+end_src
***** Languages
****** Typescript
#+begin_src emacs-lisp
(use-package js2-mode
:mode "\\.js\\'"
:hook (js2-mode . lsp-deferred))
#+end_src
* Org Mode Configuration Setup
** Babel Languages
#+begin_src emacs-lisp

View file

@ -17,6 +17,9 @@
;; Bell
(setq visible-bell t)
(global-set-key (kbd "C-M-j") 'counsel-switch-buffer)
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
;; Font
(set-face-attribute `default nil :font "JetBrains Mono" :height 125)
@ -310,6 +313,10 @@
:config
(lsp-enable-which-key-integration t))
(use-package js2-mode
:mode "\\.js\\'"
:hook (js2-mode . lsp-deferred))
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)