mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/cc: fix #2097 wrong-type-arg listp on c-default-style
This commit is contained in:
@ -114,7 +114,8 @@ This is ignored by ccls.")
|
|||||||
(inclass +cc-c++-lineup-inclass +)
|
(inclass +cc-c++-lineup-inclass +)
|
||||||
(label . 0))))
|
(label . 0))))
|
||||||
|
|
||||||
(setf (alist-get 'other c-default-style) "doom"))
|
(when (listp c-default-style)
|
||||||
|
(setf (alist-get 'other c-default-style) "doom")))
|
||||||
|
|
||||||
|
|
||||||
(use-package! modern-cpp-font-lock
|
(use-package! modern-cpp-font-lock
|
||||||
|
Reference in New Issue
Block a user