ziglang / zig.vim

Vim configuration for Zig
MIT License
448 stars 56 forks source link

Disable opening and closing loclist automatically #100

Open that-ambuj opened 1 year ago

that-ambuj commented 1 year ago

Whenever I commit a file change(:w) in neovim. zls automatically opens a Location List at the bottom of by current buffer. I have configured my location list with lsp diagnostics but I like to keep the loclist without any distractions. But zls is very forceful about it that it opens it up when there's an error and closes it when there are 0 errors. This makes the saves take longer and gives a laggy experience. Please disable loclist by default in zls.

For Context, I am using the lastest zls (zls-git from AUR) and zig (zig-bin from AUR) on my machine and I installed zls in neovim using Mason.

mark-blacket commented 11 months ago

Already addressed it here, but I want to add that using loclist and automatically reformatting code should be disabled by default