lang/cc: fix #2097 wrong-type-arg listp on c-default-style
This commit is contained in:
parent
d873e75e63
commit
da07b63f40
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue