mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-01 13:04:26 +02:00
add: cocnform ignore patern and nvimlint ignore patern
This commit is contained in:
parent
77ec605527
commit
5fe2180144
6 changed files with 25 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue