Skip to content

Commit

Permalink
fix(texlab): look for ".git" before ".latexmkrc"
Browse files Browse the repository at this point in the history
fix #2975

followup to: 995603c
  • Loading branch information
justinmk committed Jan 29, 2024
1 parent d1d8b8a commit 0219062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/texlab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 0219062

Please sign in to comment.