diff --git a/jrpotter/lang/c.nix b/jrpotter/lang/c.nix index 4b94ca4..fe77088 100644 --- a/jrpotter/lang/c.nix +++ b/jrpotter/lang/c.nix @@ -20,6 +20,12 @@ in nvim-lspconfig = '' require('init.c').nvim_lspconfig() + + vim.filetype.add({ + pattern = { + ['.*%.h'] = 'c', + }, + }) ''; };