From cc6cffcfa6800ef362ee44b694160728abe977fd Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Mon, 27 May 2024 08:24:50 -0400 Subject: bugfix: cpp had incorrect formatting --- lisp/cpp.el | 3 ++- lisp/general.el | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp') 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) -- cgit v1.2.1