Fix gf/find-file-at-point in c-mode

This commit is contained in:
Henrik Lissner 2020-02-06 15:50:12 -05:00
parent 92f8ce562c
commit 22bf716e43
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -110,7 +110,10 @@ This is ignored by ccls.")
(label . 0)))) (label . 0))))
(when (listp c-default-style) (when (listp c-default-style)
(setf (alist-get 'other c-default-style) "doom"))) (setf (alist-get 'other c-default-style) "doom"))
(after! ffap
(add-to-list 'ffap-list '(c-mode . ffap-c-mode))))
(use-package! modern-cpp-font-lock (use-package! modern-cpp-font-lock