set makeprg to swift for swift files
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user