This commit is contained in:
Sakooooo 2023-09-14 14:27:25 +00:00
parent f191587707
commit 9d97a6891e
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 15 additions and 2 deletions

View file

@ -470,7 +470,6 @@ make sure to setup authinfo
(setq auth-sources '("~/.authinfo")) (setq auth-sources '("~/.authinfo"))
#+end_src #+end_src
*** Lsp-mode *** Lsp-mode
#+end_src
**** Language Servers **** Language Servers
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun sakomacs/lsp-mode-setup () (defun sakomacs/lsp-mode-setup ()
@ -497,13 +496,22 @@ make sure to setup authinfo
(use-package lsp-treemacs (use-package lsp-treemacs
:after lsp) :after lsp)
#+end_src #+end_src
**** lsp-ivy
#+begin_src emacs-lisp
(use-package lsp-ivy)
#+end_src
**** Languages **** Languages
***** Typescript ***** Javascript
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package js2-mode (use-package js2-mode
:mode "\\.js\\'" :mode "\\.js\\'"
:hook (js2-mode . lsp-deferred)) :hook (js2-mode . lsp-deferred))
#+end_src #+end_src
*** Commenter
#+begin_src emacs-lisp
(use-package evil-nerd-commenter
:bind ("M-/" . evilnc-comment-or-uncomment-lines))
#+end_src
*** Company Mode (Better Autocompletion) *** Company Mode (Better Autocompletion)
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package company (use-package company

View file

@ -427,10 +427,15 @@
(use-package lsp-treemacs (use-package lsp-treemacs
:after lsp) :after lsp)
(use-package lsp-ivy)
(use-package js2-mode (use-package js2-mode
:mode "\\.js\\'" :mode "\\.js\\'"
:hook (js2-mode . lsp-deferred)) :hook (js2-mode . lsp-deferred))
(use-package evil-nerd-commenter
:bind ("M-/" . evilnc-comment-or-uncomment-lines))
(use-package company (use-package company
:after lsp-mode :after lsp-mode
:hook (lsp-mode . company-mode) :hook (lsp-mode . company-mode)