aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/ltex.lua
diff options
context:
space:
mode:
authorCillian Berragan <cjberragan@gmail.com>2023-09-30 11:04:09 +0100
committerGitHub <noreply@github.com>2023-09-30 12:04:09 +0200
commit34cb3b549a6b0903b89cc80e149e0b47e9042300 (patch)
treebaeb901255a08546a479e40b37dfdbc0c504b837 /lua/lspconfig/server_configurations/ltex.lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.tar
nvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.tar.gz
nvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.tar.bz2
nvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.tar.lz
nvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.tar.xz
nvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.tar.zst
nvim-lspconfig-34cb3b549a6b0903b89cc80e149e0b47e9042300.zip
feat: add quarto and rmd filetype to ltex.lua
Since `ltex-ls` release 16.0 Quarto and RMarkdown are now officially supported: https://github.com/valentjn/ltex-ls/releases/tag/16.0.0
Diffstat (limited to 'lua/lspconfig/server_configurations/ltex.lua')
-rw-r--r--lua/lspconfig/server_configurations/ltex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/ltex.lua b/lua/lspconfig/server_configurations/ltex.lua
index 3ed223b7..b1291ede 100644
--- a/lua/lspconfig/server_configurations/ltex.lua
+++ b/lua/lspconfig/server_configurations/ltex.lua
@@ -18,7 +18,7 @@ end
return {
default_config = {
cmd = { bin_name },
- filetypes = { 'bib', 'gitcommit', 'markdown', 'org', 'plaintex', 'rst', 'rnoweb', 'tex', 'pandoc' },
+ filetypes = { 'bib', 'gitcommit', 'markdown', 'org', 'plaintex', 'rst', 'rnoweb', 'tex', 'pandoc', 'quarto', 'rmd' },
root_dir = util.find_git_ancestor,
single_file_support = true,
get_language_id = function(_, filetype)