blob: 50b9442916a7c630b47d18c8db7b7ea131bfbf3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
local configs = require 'lspconfig/configs'
configs.jedi_language_server = {
default_config = {
cmd = { 'jedi-language-server' },
filetypes = { 'python' },
root_dir = function(fname)
return vim.fn.getcwd()
end,
},
docs = {
description = [[
https://github.com/pappasam/jedi-language-server
`jedi-language-server`, a language server for Python, built on top of jedi
]],
default_config = {
root_dir = "vim's starting directory",
},
},
}
-- vim:et ts=2 sw=2
|