add: cocnform ignore patern and nvimlint ignore patern

This commit is contained in:
asep.komarudin 2024-06-26 17:15:35 +07:00
parent 77ec605527
commit 5fe2180144
6 changed files with 25 additions and 7 deletions

View file

@ -131,6 +131,11 @@ M.on_attach = function(client, bufnr)
end
local on_save = pcode.format_on_save or false
-- disable if conform active
local status, _ = pcall(require, "conform")
if status then
on_save = false
end
lsp_keymaps(bufnr, on_save)
local status_ok, illuminate = pcall(require, "illuminate")
if not status_ok then