summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/veryl_ls.lua
blob: 588e36e102111d7d041dadef705a9aaa2df1d3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'veryl-ls' },
    filetypes = { 'veryl' },
    root_dir = util.find_git_ancestor,
  },
  docs = {
    description = [[
https://github.com/veryl-lang/veryl

Language server for Veryl

`veryl-ls` can be installed via `cargo`:
 ```sh
 cargo install veryl-ls
 ```
    ]],
    default_config = {
      root_dir = [[util.find_git_ancestor]],
    },
  },
}