diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-29 05:16:28 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2024-01-29 05:18:51 +0100 |
| commit | 021906284dcfb938bc236f8295af2650c60cb807 (patch) | |
| tree | 1b302d927660ea46d12668a0e8abdfdb1f51a109 /lua | |
| parent | fix: disable autostart after :LspStop #2987 (diff) | |
| download | nvim-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.lua | 2 |
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 = { |
