1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Compare commits

..

No commits in common. "855a88b5320de91a55d446d4b277a351d79e8c04" and "e53ee104ec251b11b84045dec7782b9b7a03479f" have entirely different histories.

4 changed files with 3 additions and 4 deletions

View File

@ -65,7 +65,7 @@ pip install -U pynvim
[python-lsp-server (pylsp)](https://github.com/python-lsp/python-lsp-server) is a Python [Language Server](https://microsoft.github.io/language-server-protocol/) for completion, linting, go to definition, etc.
```
pip install 'python-lsp-server[all]' pylsp-mypy python-lsp-isort python-lsp-black
pip install 'python-lsp-server[all]' pylsp-mypy pyls-isort
```
Note the executable for pylsp is also named `pylsp`. You need to set its PATH correctly.

View File

@ -68,7 +68,7 @@ fi
# Install some Python packages used by Nvim plugins.
echo "Installing Python packages"
declare -a PY_PACKAGES=("pynvim" 'python-lsp-server[all]' "vim-vint" "python-lsp-isort" "pylsp-mypy" "python-lsp-black")
declare -a PY_PACKAGES=("pynvim" 'python-lsp-server[all]' "black" "vim-vint" "pyls-isort" "pylsp-mypy")
if [[ "$SYSTEM_PYTHON" = true ]]; then
echo "Using system Python to install $(PY_PACKAGES)"

View File

@ -27,7 +27,7 @@ scoop install miniconda3
pip install -U pynvim
# Install python-language-server
pip install 'python-lsp-server[all]' pylsp-mypy python-lsp-isort
pip install 'python-lsp-server[all]' pylsp-mypy pyls-isort
# Install visual c++ redistribution
scoop install vcredist2022

View File

@ -43,7 +43,6 @@ for _, file_name in ipairs(core_conf_files) do
vim.cmd(source_cmd)
else
local module_name, _ = string.gsub(file_name, "%.lua", "")
package.loaded[module_name] = nil
require(module_name)
end
end