From 39546f730bdff8eccf7cec344cfce694f19ac908 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Tue, 28 Nov 2023 07:22:26 -0500 Subject: fix(typos_lsp): use configuration file for root detection #2918 --- lua/lspconfig/server_configurations/typos_lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {}, }, -- cgit v1.2.3-70-g09d2