mirror of https://github.com/folke/neoconf.nvim
build: cleanup
This commit is contained in:
parent
c64ef42057
commit
05a8fce2af
|
|
@ -2,3 +2,5 @@ doc/tags
|
||||||
|
|
||||||
.nlsp-settings
|
.nlsp-settings
|
||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
|
tt.lua
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ function M.setup(options)
|
||||||
local function nlsp_key(file)
|
local function nlsp_key(file)
|
||||||
return "nlsp." .. vim.fn.fnamemodify(file, ":t:r")
|
return "nlsp." .. vim.fn.fnamemodify(file, ":t:r")
|
||||||
end
|
end
|
||||||
|
|
||||||
table.insert(M.local_patterns, { pattern = ".nlsp-settings/*.json", key = nlsp_key })
|
table.insert(M.local_patterns, { pattern = ".nlsp-settings/*.json", key = nlsp_key })
|
||||||
table.insert(M.global_patterns, { pattern = "nlsp-settings/*.json", key = nlsp_key })
|
table.insert(M.global_patterns, { pattern = "nlsp-settings/*.json", key = nlsp_key })
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue