linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
379 stars 40 forks source link

Replace pyright hook #80

Closed mennohofste closed 7 months ago

mennohofste commented 7 months ago

The current pyright hook resets all settings passed in to lspconfig except for the settings value. This is documented in #58.

This PR essentially reverts commit a37ea94. The main difference is that all active pyright clients are updated instead of the first one. This snippet is heavily inspired by https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/pyright.lua.

linux-cultist commented 7 months ago

Thank you, let's merge this one right away. 👍