aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/typos_lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/typos_lsp.lua b/lua/lspconfig/server_configurations/typos_lsp.lua
index 7d5da0ad..817ae72d 100644
--- a/lua/lspconfig/server_configurations/typos_lsp.lua
+++ b/lua/lspconfig/server_configurations/typos_lsp.lua
@@ -4,7 +4,7 @@ return {
default_config = {
cmd = { 'typos-lsp' },
filetypes = { '*' },
- root_dir = util.root_pattern('pyproject.toml', '.git'),
+ root_dir = util.root_pattern('typos.toml', '_typos.toml', '.typos.toml', '.git'),
single_file_support = true,
settings = {},
},