From fe1484034f47cf064c6bfd10ef1ff26665a08fd2 Mon Sep 17 00:00:00 2001 From: alex-tdrn Date: Sat, 20 Jan 2024 14:30:05 +0100 Subject: 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 --- lua/lspconfig/server_configurations/vale_ls.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua') 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 = [[ -- cgit v1.2.3-70-g09d2