aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/jedi_language_server.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/jedi_language_server.lua')
-rw-r--r--lua/lspconfig/jedi_language_server.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/lspconfig/jedi_language_server.lua b/lua/lspconfig/jedi_language_server.lua
new file mode 100644
index 00000000..5fd6cbfc
--- /dev/null
+++ b/lua/lspconfig/jedi_language_server.lua
@@ -0,0 +1,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