blob: eab8584e307fd792f4e74108cefe3474fb13a824 (
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
25
26
27
28
29
|
local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'
local lsp = vim.lsp
configs.pyls = {
default_config = {
cmd = {"pyls"};
filetypes = {"python"};
root_dir = function(fname)
return util.path.dirname(fname)
end;
log_level = lsp.protocol.MessageType.Warning;
};
-- on_new_config = function(new_config) end;
-- on_attach = function(client, bufnr) end;
docs = {
package_json = "https://github.com/palantir/python-language-server/raw/develop/vscode-client/package.json";
description = [[
https://github.com/palantir/python-language-server
`python-language-server`, a language server for Python.
]];
default_config = {
root_dir = "vim's starting directory";
};
};
};
-- vim:et ts=2 sw=2
|