diff options
| author | Denys Digtiar <duemir@gmail.com> | 2025-12-15 17:15:37 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 02:15:37 -0500 |
| commit | 715747636f776f8401992c1df76c3d1f313811da (patch) | |
| tree | ac6dee6c8877f3b8a067c73c1669d0695961e664 | |
| parent | fix(omnisharp): "*.slnx" root marker #4236 (diff) | |
| download | nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.tar nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.tar.gz nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.tar.bz2 nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.tar.lz nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.tar.xz nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.tar.zst nvim-lspconfig-715747636f776f8401992c1df76c3d1f313811da.zip | |
fix(ltex_plus): asciidoc is added to enabled languages (#4239)
Problem:
LTEX+ LS supports Asciidoc but it is not enabled by default.
Suggested way of extending configuration overrides the values,
since `filetypes` and `ltex.enabled` are Lua list.
Solution:
Add Asciidoc to the default list of enabled languages.
| -rw-r--r-- | lsp/ltex_plus.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp/ltex_plus.lua b/lsp/ltex_plus.lua index c241cb74..d9b9941c 100644 --- a/lsp/ltex_plus.lua +++ b/lsp/ltex_plus.lua @@ -36,6 +36,7 @@ local language_id_mapping = { return { cmd = { 'ltex-ls-plus' }, filetypes = { + 'asciidoc', 'bib', 'context', 'gitcommit', @@ -62,6 +63,7 @@ return { settings = { ltex = { enabled = { + 'asciidoc', 'bib', 'context', 'gitcommit', |
