1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 08:00:05 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/vale_ls.lua
2024-05-21 12:31:14 +08:00

18 lines
393 B
Lua

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'vale-ls' },
filetypes = { 'markdown', 'text', 'tex' },
root_dir = util.root_pattern '.vale.ini',
single_file_support = true,
},
docs = {
description = [[
https://github.com/errata-ai/vale-ls
An implementation of the Language Server Protocol (LSP) for the Vale command-line tool.
]],
},
}