blob: 0582868e3eaa8e7f74bc45cd6184e3cb230e8a54 (
plain) (
blame)
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 configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'
configs.leanls = {
default_config = {
cmd = {"lean-language-server", "--stdio"};
filetypes = {"lean"};
root_dir = util.root_pattern(".git");
};
-- on_new_config = function(new_config) end;
-- on_attach = function(client, bufnr) end;
docs = {
vscode = "jroesch.lean";
description = [[
https://github.com/leanprover/lean-client-js/tree/master/lean-language-server
Lean language server.
]];
default_config = {
root_dir = [[util.root_pattern(".git")]];
};
};
}
-- vim:et ts=2 sw=2
|