From 8cd06b74781eecada701cbbb08d2746ca48fbb14 Mon Sep 17 00:00:00 2001 From: Asad Saeeduddin Date: Tue, 6 Jun 2023 12:45:30 +0000 Subject: feat: add vale-ls (#2653) --- lua/lspconfig/server_configurations/vale_ls.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/lspconfig/server_configurations/vale_ls.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/vale_ls.lua b/lua/lspconfig/server_configurations/vale_ls.lua new file mode 100644 index 00000000..8f3f2497 --- /dev/null +++ b/lua/lspconfig/server_configurations/vale_ls.lua @@ -0,0 +1,16 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'vale-ls' }, + filetypes = { 'markdown', 'text' }, + root_dir = util.root_pattern '.vale.ini', + }, + docs = { + description = [[ +https://github.com/errata-ai/vale-ls + +An implementation of the Language Server Protocol (LSP) for the Vale command-line tool. +]], + }, +}