diff --git a/Emacs.md b/Emacs.md index a9b4cb4..d24e570 100644 --- a/Emacs.md +++ b/Emacs.md @@ -67,8 +67,8 @@ To turn on ccls for all C/C++ modes: (use-package ccls :commands lsp-ccls-enable :init - (add-hook 'c-common-hook #'ccls//enable) - (add-hook 'c++-common-hook #'ccls//enable) + (add-hook 'c-mode-hook #'ccls//enable) + (add-hook 'c++-mode-hook #'ccls//enable) ) ;; Also see lsp-project-whitelist lsp-project-blacklist ccls-root-matchers ```