aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/jedi_language_server.lua
blob: 714814af4de5ca00e7192db0cb319ecf4f337a06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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",
    },
  },
}