better odin support

This commit is contained in:
2026-01-07 23:46:50 +01:00
parent 4564f334b9
commit 5bc85351ab
+2
View File
@@ -75,6 +75,7 @@ vim.cmd [[
set wildignore=*.o,*.obj,.git/**,tags,*.pyc
set errorformat^=[----]\ %f:%l:\ %m
set errorformat^=%f\(%l:%c\)\ %m
]]
vim.keymap.set('n', ',cf', function()
@@ -193,6 +194,7 @@ local file_specific = {
end,
odin = function()
vim.bo.expandtab = false
vim.bo.makeprg = 'odin run .'
end
}