summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/cpp.el3
-rw-r--r--lisp/general.el2
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)