diff options
author | Matthew Kosarek <matt.kosarek@canonical.com> | 2024-05-27 08:24:50 -0400 |
---|---|---|
committer | Matthew Kosarek <matt.kosarek@canonical.com> | 2024-05-27 08:24:50 -0400 |
commit | cc6cffcfa6800ef362ee44b694160728abe977fd (patch) | |
tree | 9858bb24a7655377982369e8707c20586a8fa8f9 | |
parent | f7447ad9ae7bc7bbccd7acbe8eb31478f1958fe0 (diff) |
bugfix: cpp had incorrect formatting
-rw-r--r-- | lisp/cpp.el | 3 | ||||
-rw-r--r-- | lisp/general.el | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/cpp.el b/lisp/cpp.el index eb7660e..77a52d8 100644 --- a/lisp/cpp.el +++ b/lisp/cpp.el @@ -12,10 +12,11 @@ (c-set-offset 'substatement-open 0) (c-set-offset 'arglist-intro '+) (c-set-offset 'arglist-cont-non-empty '+) - (c-set-offset 'argslist-close '+) + (c-set-offset 'arglist-close '+) (c-set-offset 'statement-cont 0) ) +(setup-c) (add-hook 'c-mode-common-hook 'setup-c) (defun mk/cpp/generate-compile-commands-cmake() diff --git a/lisp/general.el b/lisp/general.el index ebfaa21..95966e4 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -274,7 +274,7 @@ (add-hook 'c-mode-common-hook 'eglot-ensure) (add-hook 'dart-mode-hook 'eglot-ensure)) -(set-face-underline 'eglot-highlight-symbol-face t) +;; (set-face-underline 'eglot-highlight-symbol-face t) (bind-key* (kbd "M-n") 'flymake-goto-next-error) (bind-key* (kbd "M-p") 'flymake-goto-prev-error) |