mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-15 11:54:28 +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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
filetypes = { "blade" },
|
||||
root_dir = require("lspconfig.util").root_pattern("composer.json", ".git") or vim.loop.cwd() or vim.fn.getcwd(),
|
||||
singe_file_support = true,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue