diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-03-04 18:59:27 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-03-04 18:59:27 +0100 |
| commit | d151350744b438fdf03d265dea84bb458795abe7 (patch) | |
| tree | 25f79a1089f33840a7af5fa81e0c5e4cdebbbcf2 /init.lua | |
| parent | 0619ad3d2898cbcd8f7b0e9be4a7f46753665d5c (diff) | |
| download | vis-lspc-d151350744b438fdf03d265dea84bb458795abe7.tar.gz vis-lspc-d151350744b438fdf03d265dea84bb458795abe7.zip | |
add python language server configuration
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -97,8 +97,11 @@ end -- clangd language server configuration local clangd = {name = 'clangd', cmd = 'clangd'} +-- pyls (python-language-server) language server configuration +local pyls = {name = 'pyls', cmd = 'pyls'} + -- map of known language servers per syntax -lspc.ls_map = {cpp = clangd, ansi_c = clangd} +lspc.ls_map = {cpp = clangd, ansi_c = clangd, python = pyls} -- return the name of the language server for this syntax local function get_ls_name_for_syntax(syntax) |
