summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/vale_ls.lua
blob: 615b18b713d7c8bd0d4265fb2b5baeec7616c8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.
]],
  },
}