feat(home-manager): rework neovim configuration
Use new neovim option introduced in 0.11
This commit is contained in:
parent
5ac9a372b9
commit
69493a7d84
13 changed files with 208 additions and 194 deletions
21
modules/home-manager/cli/neovim/files/lsp/pylsp.lua
Normal file
21
modules/home-manager/cli/neovim/files/lsp/pylsp.lua
Normal file
|
@ -0,0 +1,21 @@
|
|||
return {
|
||||
cmd = { 'pylsp' },
|
||||
filetypes = { 'python' },
|
||||
root_markers = {
|
||||
'pyproject.toml',
|
||||
'setup.py',
|
||||
'setup.cfg',
|
||||
'requirements.txt',
|
||||
'Pipfile',
|
||||
'.git',
|
||||
},
|
||||
settings = {
|
||||
pylsp = {
|
||||
plugins = {
|
||||
pylint = {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue