aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-01-29 05:16:28 +0100
committerJustin M. Keyes <justinkz@gmail.com>2024-01-29 05:18:51 +0100
commit021906284dcfb938bc236f8295af2650c60cb807 (patch)
tree1b302d927660ea46d12668a0e8abdfdb1f51a109 /lua
parentfix: disable autostart after :LspStop #2987 (diff)
downloadnvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.tar
nvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.tar.gz
nvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.tar.bz2
nvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.tar.lz
nvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.tar.xz
nvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.tar.zst
nvim-lspconfig-021906284dcfb938bc236f8295af2650c60cb807.zip
fix(texlab): look for ".git" before ".latexmkrc"
fix #2975 followup to: 995603cfaecffe10e0f4bf57f92d187f86c2de39
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/texlab.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/texlab.lua b/lua/lspconfig/server_configurations/texlab.lua
index e24fc301..2cef7131 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 = {