summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/user/lsp/python.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/user/lsp/python.lua')
-rw-r--r--.config/nvim/lua/user/lsp/python.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/user/lsp/python.lua b/.config/nvim/lua/user/lsp/python.lua
index 5cd4a2e..2b073be 100644
--- a/.config/nvim/lua/user/lsp/python.lua
+++ b/.config/nvim/lua/user/lsp/python.lua
@@ -1 +1,10 @@
lsp = require 'lspconfig'
+
+lsp.pylsp.setup {
+ cmd = {"pylsp"},
+ filetypes = {"py", "python"},
+ root_dir = lsp.util.root_pattern("main.py", "configure", "Makefile", ".git"),
+ init_options = {
+
+ },
+}