From e655c96cf00f7b783871b3787187ed3fa25ff64e Mon Sep 17 00:00:00 2001 From: Steven Jin Date: Mon, 12 Feb 2024 00:11:25 -0500 Subject: fix(texlab): search for default texlab root files (#3005) --- lua/lspconfig/server_configurations/texlab.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/texlab.lua b/lua/lspconfig/server_configurations/texlab.lua index 2cef7131..5200e044 100644 --- a/lua/lspconfig/server_configurations/texlab.lua +++ b/lua/lspconfig/server_configurations/texlab.lua @@ -70,7 +70,7 @@ return { default_config = { cmd = { 'texlab' }, filetypes = { 'tex', 'plaintex', 'bib' }, - root_dir = util.root_pattern('.git', '.latexmkrc'), + root_dir = util.root_pattern('.git', '.latexmkrc', '.texlabroot', 'texlabroot', 'Tectonic.toml'), single_file_support = true, settings = { texlab = { -- cgit v1.2.3-70-g09d2