aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/vale_ls.lua16
1 files changed, 16 insertions, 0 deletions
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.
+]],
+ },
+}