aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Grieser <73286100+chrisgrieser@users.noreply.github.com>2025-12-17 16:47:23 +0100
committerGitHub <noreply@github.com>2025-12-17 10:47:23 -0500
commitd072ee406e1293fbf3b7616a5e0bea2a69af58d9 (patch)
treec699e7f0e0d0bd2e9c515efde6ff7b8cd2fff160
parentfix(docs): rename misleading argument name (#4245) (diff)
downloadnvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.tar
nvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.tar.gz
nvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.tar.bz2
nvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.tar.lz
nvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.tar.xz
nvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.tar.zst
nvim-lspconfig-d072ee406e1293fbf3b7616a5e0bea2a69af58d9.zip
fix(harper_ls): add `.harper-dictionary.txt` as root marker #4246
The file `.harper-dictionary.txt` stores the workspace-specific dictionary, thus making it a root marker. https://writewithharper.com/docs/integrations/language-server#Workspace-Dictionary
-rw-r--r--lsp/harper_ls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/harper_ls.lua b/lsp/harper_ls.lua
index 9e02c31b..42bdf94b 100644
--- a/lsp/harper_ls.lua
+++ b/lsp/harper_ls.lua
@@ -48,5 +48,5 @@ return {
'clojure',
'sh',
},
- root_markers = { '.git' },
+ root_markers = { '.harper-dictionary.txt', '.git' },
}