switched from Mason + mason-lspconfig to custom install

This commit is contained in:
THEON-1
2025-12-03 17:13:52 +01:00
parent b31dab0c4f
commit 97864420c3
9 changed files with 234 additions and 4 deletions

18
lua/lsp/python.lua Normal file
View File

@@ -0,0 +1,18 @@
---@type vim.lsp.Config
local config = {
cmd = { 'pylsp' },
filetypes = { 'python' },
root_markers = {
'pyproject.toml',
'setup.py',
'setup.cfg',
'requirements.txt',
'Pipfile',
'.git',
},
}
vim.lsp.config['python-language-server'] = config
vim.lsp.enable('python-language-server')