From b2b543355c03ec24281d05380f92e2e793e511f4 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Tue, 21 May 2024 18:10:21 +0300 Subject: added some changes to neovim config --- .config/nvim/lua/user/lsp/python.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.config/nvim/lua/user/lsp/python.lua') 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 = { + + }, +} -- cgit v1.2.3-70-g09d2