Interpret header files as C, not C++.

main
Joshua Potter 2023-11-26 05:52:46 -07:00
parent fb5932254b
commit f48fc258ca
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ in
nvim-lspconfig = ''
require('init.c').nvim_lspconfig()
vim.filetype.add({
pattern = {
['.*%.h'] = 'c',
},
})
'';
};