diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-12-10 14:59:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-10 14:59:38 -0800 |
| commit | 64855a622952ab9d56ccb2165705e9448f63c293 (patch) | |
| tree | 587648d2eb89845aa2efe425fa5530411509993c /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.tar nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.tar.gz nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.tar.bz2 nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.tar.lz nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.tar.xz nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.tar.zst nvim-lspconfig-64855a622952ab9d56ccb2165705e9448f63c293.zip | |
feat(ltex): enable single_file_support (#1556)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/ltex.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/ltex.lua b/lua/lspconfig/server_configurations/ltex.lua index 01abaff4..e9b49afb 100644 --- a/lua/lspconfig/server_configurations/ltex.lua +++ b/lua/lspconfig/server_configurations/ltex.lua @@ -14,6 +14,7 @@ return { cmd = { 'ltex-ls' }, filetypes = { 'bib', 'markdown', 'org', 'plaintex', 'rst', 'rnoweb', 'tex' }, root_dir = util.find_git_ancestor, + single_file_support = true, get_language_id = function(_, filetype) local language_id = language_id_mapping[filetype] if language_id then |
