aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-10-10 12:58:17 +0300
committereug-vs <eugene@eug-vs.xyz>2021-10-10 12:58:17 +0300
commit07157bfa0388a366a9a148b0fc52820646ef8c17 (patch)
tree6bc57b7c98a576b3152f8bd173de8e520477f4c2
parentf649094b5a710daad679125143d4507e06ffa960 (diff)
downloaddotfiles-07157bfa0388a366a9a148b0fc52820646ef8c17.tar.gz
feat(nvim): add python LSP
-rw-r--r--nvim/.config/nvim/lua/lsp-config.lua7
1 files changed, 7 insertions, 0 deletions
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")