nvim: after/ftplugin/zig: Set compiler
See runtime/compiler/zig_build.vim.
This commit is contained in:
parent
ecf9bb731e
commit
deb5f2b7d4
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ local zls_config = lsp_utils.zls_config()
|
||||||
|
|
||||||
vim.lsp.start(zls_config)
|
vim.lsp.start(zls_config)
|
||||||
|
|
||||||
|
vim.cmd.compiler('zig_build')
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
||||||
pattern = { "*/lib/zig/*" },
|
pattern = { "*/lib/zig/*" },
|
||||||
callback = function()
|
callback = function()
|
||||||
|
|
Loading…
Reference in a new issue