diff options
| author | Dominik Kaiser | 2025-08-20 13:41:30 +0200 |
|---|---|---|
| committer | Dominik Kaiser | 2025-08-20 13:41:30 +0200 |
| commit | f37bc910b17893afdbcc002e4c2a46ea64dbcdd3 (patch) | |
| tree | e31da0837ce4a86824a540c723dfb49383edaecf | |
| parent | 3e39eab55a6f709c1d1e74b88c650f8b0974eb7f (diff) | |
| download | emacs-f37bc910b17893afdbcc002e4c2a46ea64dbcdd3.tar.gz emacs-f37bc910b17893afdbcc002e4c2a46ea64dbcdd3.zip | |
Add C++ support
| -rw-r--r-- | README.org | 5 | ||||
| -rw-r--r-- | init.el | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -215,6 +215,11 @@ These settings ensure that block highlights aren't visible when collapsed. :bind ("M-/" . evilnc-comment-or-uncomment-lines)) #+end_src ** Programming Languages +*** C/C++ +#+begin_src elisp + (setq lsp-clients-clangd-args '("-compile-commands-dir=build")) +#+end_src + *** Rust #+begin_src elisp (use-package rust-mode @@ -151,6 +151,8 @@ (use-package evil-nerd-commenter :bind ("M-/" . evilnc-comment-or-uncomment-lines)) +(setq lsp-clients-clangd-args '("-compile-commands-dir=build")) + (use-package rust-mode :hook (rust-mode . (lambda () (setq indent-tabs-mode nil))) |
