diff options
| author | yourealwaysbe <matthewhague@zoho.com> | 2022-07-22 15:29:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-22 07:29:25 -0700 |
| commit | a3baba36a355fec7a5d6991894d4f55e1ab6f2c6 (patch) | |
| tree | 60ede4d9a89fc557f58e7590620dadbfa31a8f34 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.tar nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.tar.gz nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.tar.bz2 nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.tar.lz nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.tar.xz nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.tar.zst nvim-lspconfig-a3baba36a355fec7a5d6991894d4f55e1ab6f2c6.zip | |
feat(texlab): support plaintex #2022
Sometimes simple LaTeX documents are detected as plaintex rather than
tex, meaning texlab will not be applied without a manual change of
filetype.
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 88bfa20c..ba5b16f8 100644 --- a/lua/lspconfig/server_configurations/texlab.lua +++ b/lua/lspconfig/server_configurations/texlab.lua @@ -66,7 +66,7 @@ end return { default_config = { cmd = { 'texlab' }, - filetypes = { 'tex', 'bib' }, + filetypes = { 'tex', 'plaintex', 'bib' }, root_dir = function(fname) return util.root_pattern '.latexmkrc'(fname) or util.find_git_ancestor(fname) end, |
