aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/configs/typos_lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/typos_lsp.lua b/lua/lspconfig/configs/typos_lsp.lua
index 3fb58b25..054f246c 100644
--- a/lua/lspconfig/configs/typos_lsp.lua
+++ b/lua/lspconfig/configs/typos_lsp.lua
@@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'typos-lsp' },
- root_dir = util.root_pattern('typos.toml', '_typos.toml', '.typos.toml'),
+ root_dir = util.root_pattern('typos.toml', '_typos.toml', '.typos.toml', 'pyproject.toml', 'Cargo.toml'),
single_file_support = true,
settings = {},
},