From 05a8fce2af03b65a87fde2be7eae522fb00e8b91 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 11 Sep 2022 14:23:20 +0200 Subject: [PATCH] build: cleanup --- .gitignore | 4 +++- .ignore | 2 ++ lua/settings/config.lua | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .ignore diff --git a/.gitignore b/.gitignore index f1a4ffd..40bb63e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ doc/tags .nlsp-settings -.vscode \ No newline at end of file +.vscode + +tt.lua diff --git a/.ignore b/.ignore new file mode 100644 index 0000000..29f3271 --- /dev/null +++ b/.ignore @@ -0,0 +1,2 @@ +types +schemas diff --git a/lua/settings/config.lua b/lua/settings/config.lua index 884255b..637a177 100644 --- a/lua/settings/config.lua +++ b/lua/settings/config.lua @@ -60,6 +60,7 @@ function M.setup(options) local function nlsp_key(file) return "nlsp." .. vim.fn.fnamemodify(file, ":t:r") end + table.insert(M.local_patterns, { pattern = ".nlsp-settings/*.json", key = nlsp_key }) table.insert(M.global_patterns, { pattern = "nlsp-settings/*.json", key = nlsp_key }) end