summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/user/lsp/python.lua
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-05-21 18:10:21 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-05-21 18:10:21 +0300
commitb2b543355c03ec24281d05380f92e2e793e511f4 (patch)
tree26bf76b6da4a16aa9b5dbb9549eadf13144d2594 /.config/nvim/lua/user/lsp/python.lua
parent551cd0d2a7a599011393ba39b74e31f25425748c (diff)
added some changes to neovim config
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 = {
+
+ },
+}