remove the filetype overwrite to c

I don't think it does much
This commit is contained in:
Ivar Fatland
2025-09-27 11:18:01 +02:00
parent 0ac00b69b9
commit 110480ea3f
-10
View File
@@ -73,16 +73,6 @@ vim.cmd [[
set wildignore=*.o,*.obj,.git/**,tags,*.pyc set wildignore=*.o,*.obj,.git/**,tags,*.pyc
]] ]]
vim.api.nvim_create_autocmd({
'BufRead',
'BufNewFile'
}, {
pattern = {'*.h'},
callback = function()
vim.bo.filetype = 'c'
end
})
local function has_makefile() local function has_makefile()
local dir = io.popen('ls') local dir = io.popen('ls')
if not dir then return false end if not dir then return false end