aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authoralex-tdrn <alex-tdrn@protonmail.com>2024-01-20 14:30:05 +0100
committerGitHub <noreply@github.com>2024-01-20 21:30:05 +0800
commitfe1484034f47cf064c6bfd10ef1ff26665a08fd2 (patch)
tree570618763c13cd86669853e2a183aec0af0ab7ed /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.tar
nvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.tar.gz
nvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.tar.bz2
nvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.tar.lz
nvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.tar.xz
nvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.tar.zst
nvim-lspconfig-fe1484034f47cf064c6bfd10ef1ff26665a08fd2.zip
feat: enable single file mode for vale_ls (#2978)
as of vale 3.0.0, vale can be used with a system default `.vale.ini`, which means vale_ls can also be used in single file mode
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/vale_ls.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/vale_ls.lua b/lua/lspconfig/server_configurations/vale_ls.lua
index 8f3f2497..dab7a7fe 100644
--- a/lua/lspconfig/server_configurations/vale_ls.lua
+++ b/lua/lspconfig/server_configurations/vale_ls.lua
@@ -5,6 +5,7 @@ return {
cmd = { 'vale-ls' },
filetypes = { 'markdown', 'text' },
root_dir = util.root_pattern '.vale.ini',
+ single_file_support = true,
},
docs = {
description = [[