From 07157bfa0388a366a9a148b0fc52820646ef8c17 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 10 Oct 2021 12:58:17 +0300 Subject: feat(nvim): add python LSP --- nvim/.config/nvim/lua/lsp-config.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nvim/.config/nvim/lua/lsp-config.lua b/nvim/.config/nvim/lua/lsp-config.lua index cf31581..4d55fc0 100644 --- a/nvim/.config/nvim/lua/lsp-config.lua +++ b/nvim/.config/nvim/lua/lsp-config.lua @@ -37,11 +37,18 @@ nvim_lsp.vuels.setup{ flags = flags, } +-- Rust nvim_lsp.rust_analyzer.setup{ on_attach = on_attach, flags = flags, } +-- Python +nvim_lsp.pylsp.setup{ + on_attach = on_attach, + flags = flags, +} + -- Lua local runtime_path = vim.split(package.path, ';') table.insert(runtime_path, "lua/?.lua") -- cgit v1.2.3