associate ".h"-Files with "C" instead of "C++"
authorLukas Hägele <lukas.haegele93@web.de>
Sat, 3 Oct 2026 09:34:15 +0000 (11:34 +0200)
committerLukas Hägele <lukas.haegele93@web.de>
Sat, 3 Oct 2026 09:34:15 +0000 (11:34 +0200)
lua/config/settings.lua

index 4df61e2837a7b437edf1e0cf7ccabcc0ad5d53de..1f792ae55f22ef85ff258b1ecc9331d1352370df 100644 (file)
@@ -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