set makeprg to swift for swift files

This commit is contained in:
Ivar Fatland
2025-09-10 21:21:52 +02:00
parent 46f5179a4a
commit 64cda6dec3
+2
View File
@@ -116,6 +116,8 @@ vim.api.nvim_create_autocmd('BufEnter', {
end end
elseif vim.bo.filetype == 'python' then elseif vim.bo.filetype == 'python' then
vim.bo.makeprg = 'basedpyright' vim.bo.makeprg = 'basedpyright'
elseif vim.bo.filetype == 'swift' then
vim.bo.makeprg = 'swift'
end end
end, end,
}) })