Add LSP helper plugin for python lang

This commit is contained in:
don philipe
2026-02-17 14:26:00 +01:00
parent 6a82e1dc6f
commit 434df00be3
2 changed files with 9 additions and 0 deletions

View File

@@ -32,3 +32,10 @@ vim.api.nvim_create_autocmd('LspAttach', {
vim.keymap.set('n', '<F4>', '<cmd>lua vim.lsp.buf.code_action()<cr>', opts)
end,
})
-- helper plugin configuration
require'py_lsp'.setup{
host_python = '/usr/bin/python3',
default_venv_name = "venv",
language_server = "pylsp",
}