Skip to content

Commit

Permalink
fix(nvim): do not autoformat with zls
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Aug 23, 2023
1 parent b46adc0 commit 2c12c40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/neovim/config/lua/lsp_autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ M.on_attach = function(client, bufnr)
and vim.bo.filetype ~= "lua"
and client.name ~= "null-ls"
and client.name ~= "marksman"
and client.name ~= "zls"
then
vim.api.nvim_create_autocmd({ "BufWritePre" }, {
buffer = bufnr,
Expand Down

0 comments on commit 2c12c40

Please sign in to comment.