Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Nov 13, 2023
1 parent 0ceed24 commit 8498a8b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions lua/plugins/quarto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ return {
require("mason").setup()
require("mason-lspconfig").setup({
automatic_installation = {
exclude = {},
exclude = {'pylsp'}
},
})

Expand Down Expand Up @@ -382,12 +382,18 @@ return {
end
vim.api.nvim_create_user_command("InstallPylspPlugins", add_pylsp_plugins, {})

-- to install pylsp plugins run:
-- cd ~/.local/share/nvim/mason/packages/python-lsp-server
-- source venv/bin/activate
-- Install python-lsp-server to each venv project manually:
--
-- source .venv/bin/activate
-- pip install python-lsp-server
-- pip install pylsp-rope
-- pip install python-lsp-black
-- pip install pylsp-mypy
--
-- or install with mason and install
-- in mason python-lsp-server venv
-- cd ~/.local/share/nvim/mason/packages/python-lsp-server
--
lspconfig.pylsp.setup({
on_attach = on_attach,
capabilities = capabilities,
Expand Down

0 comments on commit 8498a8b

Please sign in to comment.