emacs: eglot-ensure for c/c++-ts-mode, set theme to Monokai Pro
This commit is contained in:
parent
545e7cb66c
commit
61134349cb
2 changed files with 9 additions and 7 deletions
|
@ -396,7 +396,7 @@ Disabled because the configuration is handled by Nix using [[https://github.com/
|
|||
:prefix my/leader
|
||||
"C" 'find-config)
|
||||
#+end_src
|
||||
** Appearance
|
||||
** COMMENT Appearance
|
||||
|
||||
Enable pixel scrolling.
|
||||
|
||||
|
@ -404,9 +404,9 @@ Enable pixel scrolling.
|
|||
(setq pixel-scroll-precision-mode t)
|
||||
#+end_src
|
||||
|
||||
I prefer the [[https://draculatheme.com][dracula theme]]
|
||||
I like the [[https://draculatheme.com][dracula theme]]
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package dracula-theme
|
||||
:init
|
||||
(load-theme 'dracula t))
|
||||
|
@ -414,10 +414,10 @@ I prefer the [[https://draculatheme.com][dracula theme]]
|
|||
|
||||
[[https://github.com/belak/emacs-monokai-pro-theme][Monokai Pro]] is also pretty.
|
||||
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
#+begin_src emacs-lisp
|
||||
(use-package monokai-pro-theme
|
||||
:init
|
||||
(load-theme 'monokai-pro t))
|
||||
(load-theme 'monokai-pro-spectrum t))
|
||||
#+end_src
|
||||
|
||||
Set fonts.
|
||||
|
@ -1441,8 +1441,8 @@ Enable clangd LSP for C and C++
|
|||
:ensure nil
|
||||
:after eglot
|
||||
:hook
|
||||
(c-mode . eglot-ensure)
|
||||
(c++-mode . eglot-ensure))
|
||||
((c-mode c-ts-mode) . eglot-ensure)
|
||||
((c++-mode c++-ts-mode) . eglot-ensure))
|
||||
#+end_src
|
||||
|
||||
Enable and configure =auto-insert-mode= for Horus projects
|
||||
|
|
|
@ -28,6 +28,8 @@ with lib; let
|
|||
(treesit-grammars.with-grammars (p: with p; [
|
||||
tree-sitter-bash
|
||||
tree-sitter-c
|
||||
tree-sitter-c-sharp
|
||||
tree-sitter-css
|
||||
tree-sitter-cmake
|
||||
tree-sitter-comment
|
||||
tree-sitter-commonlisp
|
||||
|
|
Loading…
Reference in a new issue