From 021906284dcfb938bc236f8295af2650c60cb807 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 29 Jan 2024 05:16:28 +0100 Subject: [PATCH] fix(texlab): look for ".git" before ".latexmkrc" fix #2975 followup to: 995603cfaecffe10e0f4bf57f92d187f86c2de39 --- lua/lspconfig/server_configurations/texlab.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/server_configurations/texlab.lua b/lua/lspconfig/server_configurations/texlab.lua index e24fc301c3..2cef713157 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('.latexmkrc', '.git'), + root_dir = util.root_pattern('.git', '.latexmkrc'), single_file_support = true, settings = { texlab = {