nvim: after/ftplugin/zig: Set compiler

See runtime/compiler/zig_build.vim.
This commit is contained in:
Sanchayan Maity 2024-11-17 14:30:57 +05:30
parent ecf9bb731e
commit deb5f2b7d4
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -3,6 +3,8 @@ local zls_config = lsp_utils.zls_config()
vim.lsp.start(zls_config)
vim.cmd.compiler('zig_build')
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
pattern = { "*/lib/zig/*" },
callback = function()