blob: 50a773991ac5fed184341f556828b8e5d30ca5cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
local util = require 'lspconfig.util'
local default_capabilities = vim.lsp.protocol.make_client_capabilities()
default_capabilities.offsetEncoding = { 'utf-8', 'utf-16' }
return {
default_config = {
cmd = { 'fennel-ls' },
filetypes = { 'fennel' },
root_dir = function(dir)
return util.find_git_ancestor(dir)
end,
settings = {},
capabilities = default_capabilities,
},
docs = {
description = [[
https://sr.ht/~xerool/fennel-ls/
A language server for fennel.
]],
},
}
|