From d151350744b438fdf03d265dea84bb458795abe7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 4 Mar 2021 18:59:27 +0100 Subject: add python language server configuration --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index c043edb..89034c2 100644 --- a/init.lua +++ b/init.lua @@ -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) -- cgit v1.2.3