diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 5f95915e..dfbba49b 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -470,7 +470,6 @@ make sure to setup authinfo (setq auth-sources '("~/.authinfo")) #+end_src *** Lsp-mode -#+end_src **** Language Servers #+begin_src emacs-lisp (defun sakomacs/lsp-mode-setup () @@ -497,13 +496,22 @@ make sure to setup authinfo (use-package lsp-treemacs :after lsp) #+end_src +**** lsp-ivy +#+begin_src emacs-lisp +(use-package lsp-ivy) +#+end_src **** Languages -***** Typescript +***** Javascript #+begin_src emacs-lisp (use-package js2-mode :mode "\\.js\\'" :hook (js2-mode . lsp-deferred)) #+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) #+begin_src emacs-lisp (use-package company diff --git a/config/emacs/init.el b/config/emacs/init.el index 44983dd9..4094314a 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -427,10 +427,15 @@ (use-package lsp-treemacs :after lsp) +(use-package lsp-ivy) + (use-package js2-mode :mode "\\.js\\'" :hook (js2-mode . lsp-deferred)) +(use-package evil-nerd-commenter +:bind ("M-/" . evilnc-comment-or-uncomment-lines)) + (use-package company :after lsp-mode :hook (lsp-mode . company-mode)