aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/taplo.lua
diff options
context:
space:
mode:
authorNinjackson <84806918+NinjacksonXV@users.noreply.github.com>2025-05-04 11:48:55 -0700
committerGitHub <noreply@github.com>2025-05-04 11:48:55 -0700
commitf3becc576adeab925449fda9d3ec80d18144c160 (patch)
treea59564a54a57cc4b2098e061706c89e7b0ac7d94 /lsp/taplo.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.tar
nvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.tar.gz
nvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.tar.bz2
nvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.tar.lz
nvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.tar.xz
nvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.tar.zst
nvim-lspconfig-f3becc576adeab925449fda9d3ec80d18144c160.zip
fix(taplo): root markers #3819
Problem: Root directory does not prefer Taplo configuration files Solution: Add Taplo configuration files to root dir definition.
Diffstat (limited to 'lsp/taplo.lua')
-rw-r--r--lsp/taplo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/taplo.lua b/lsp/taplo.lua
index 59ac2b36..4de4c8d9 100644
--- a/lsp/taplo.lua
+++ b/lsp/taplo.lua
@@ -11,5 +11,5 @@
return {
cmd = { 'taplo', 'lsp', 'stdio' },
filetypes = { 'toml' },
- root_markers = { '.git' },
+ root_markers = { '.taplo.toml', 'taplo.toml', '.git' },
}