From a022151c5d5f928a0ddde690dcdcb12791313061 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 3 Aug 2024 14:31:05 +0300 Subject: feat: python virtual env (venv) and nvim pyright lsp configuration --- .config/nvim/lua/custom/config/language-servers.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/custom/config/language-servers.lua') diff --git a/.config/nvim/lua/custom/config/language-servers.lua b/.config/nvim/lua/custom/config/language-servers.lua index 97c4bcf..763a712 100644 --- a/.config/nvim/lua/custom/config/language-servers.lua +++ b/.config/nvim/lua/custom/config/language-servers.lua @@ -18,7 +18,13 @@ return { gradle_ls = true, -- java package manager -- jdtls = true, -- java eclipse lsp kotlin_language_server = true, -- kotlin - pyright = true, -- python + pyright = { + settings = { + python = { + pythonPath = '~/python/venv/bin/python', + }, + }, + }, -- python rust_analyzer = false, -- NOTE: using rustaceanvim bashls = true, -- bash taplo = true, -- toml -- cgit v1.3.1