From deb5f2b7d4cebaff14ca8a2389dc521c2d750bb9 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sun, 17 Nov 2024 14:30:57 +0530 Subject: [PATCH] nvim: after/ftplugin/zig: Set compiler See runtime/compiler/zig_build.vim. --- nvim/.config/nvim/after/ftplugin/zig.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/.config/nvim/after/ftplugin/zig.lua b/nvim/.config/nvim/after/ftplugin/zig.lua index 8aad3d4..ce4b558 100644 --- a/nvim/.config/nvim/after/ftplugin/zig.lua +++ b/nvim/.config/nvim/after/ftplugin/zig.lua @@ -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()