projects
/
dotfiles_nvim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c3059
)
associate ".h"-Files with "C" instead of "C++"
author
Lukas Hägele
<lukas.haegele93@web.de>
Sat, 3 Oct 2026 09:34:15 +0000
(11:34 +0200)
committer
Lukas Hägele
<lukas.haegele93@web.de>
Sat, 3 Oct 2026 09:34:15 +0000
(11:34 +0200)
lua/config/settings.lua
patch
|
blob
|
history
diff --git
a/lua/config/settings.lua
b/lua/config/settings.lua
index 4df61e2837a7b437edf1e0cf7ccabcc0ad5d53de..1f792ae55f22ef85ff258b1ecc9331d1352370df 100644
(file)
--- a/
lua/config/settings.lua
+++ b/
lua/config/settings.lua
@@
-36,3
+36,6
@@
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50
-- vim.opt.colorcolumn = "80"
+
+-- associate 'h'-files with C instead of C++
+vim.g.c_syntax_for_h = 1