diff options
-rw-r--r-- | dotfiles/.emacs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs index 8b29806..51a41eb 100644 --- a/dotfiles/.emacs +++ b/dotfiles/.emacs @@ -104,12 +104,21 @@ (use-package lsp-mode :ensure t - :hook ((haskell-mode . lsp-deferred)) - :commands (lsp lsp-deferred)) + :hook ((haskell-mode c-mode c++-mode c-or-c++-mode) . lsp-deferred) + :commands (lsp lsp-deferred) + :config + (setq lsp-clients-clangd-args '("-j=4" "-background-index" "--log=error" "--clang-tidy" "--enable-config")) + (setq lsp-auto-guess-root t)) (use-package lsp-haskell :ensure t ) +(use-package company + :ensure t) + +(use-package yasnippet + :ensure t) + (use-package rustic :ensure t) |