summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-08-03 14:31:05 +0300
committerKyren223 <ulmliad223@gmail.com>2024-08-03 14:31:05 +0300
commita022151c5d5f928a0ddde690dcdcb12791313061 (patch)
tree8b573beb114864c78962de505d8d34b42b1ef895 /.config/nvim
parent7d7666d4822b51c9b309e6b5f60e2439ccb072d9 (diff)
feat: python virtual env (venv) and nvim pyright lsp configuration
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/custom/config/language-servers.lua8
1 files changed, 7 insertions, 1 deletions
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