Skip to content

Commit

Permalink
zls don't show zig plugin's error buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
paperdev-code committed Aug 5, 2024
1 parent 1301ed2 commit 76890a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/HM/neovim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ now(function()
},
})

if detect_bin('zls') then lspconfig.zls.setup({}) end
if detect_bin('zls') then
lspconfig.zls.setup({})
vim.g.zig_fmt_parse_errors = 0
end
if detect_bin('ruff') then
lspconfig.ruff.setup({
on_attach = function(_, buf)
Expand Down

0 comments on commit 76890a2

Please sign in to comment.