diff options
| author | Steven Jin <stevenjin8@gmail.com> | 2024-02-12 00:11:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-12 13:11:25 +0800 |
| commit | e655c96cf00f7b783871b3787187ed3fa25ff64e (patch) | |
| tree | 8f82814fd1df841a1037cca9898f07acd8d0b85c | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.tar nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.tar.gz nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.tar.bz2 nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.tar.lz nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.tar.xz nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.tar.zst nvim-lspconfig-e655c96cf00f7b783871b3787187ed3fa25ff64e.zip | |
fix(texlab): search for default texlab root files (#3005)
| -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 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 = { |
