aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/fennel_language_server.lua
blob: 269e9f2789716d686ec9a935cbac5761f2b045d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
return {
  default_config = {
    cmd = { 'fennel-language-server' },
    filetypes = { 'fennel' },
    single_file_support = true,
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
    settings = {},
  },
  docs = {
    description = [[
https://github.com/rydesun/fennel-language-server

Fennel language server protocol (LSP) support.
]],
  },
}