Install pylsp
This commit is contained in:
parent
4e1bced223
commit
8fa2cd9c9b
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-cLqKFRw5I2HMWzfIolLyNVmk094KoIqt0zRdRwo7a5Y=",
|
||||
"path": "/nix/store/85kgmnc3iny1wbziqa6a6i2alprkyg59-source/home/ags",
|
||||
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
|
||||
"path": "/nix/store/rpz457196awqq0q33yiqnjg41m9sfs97-source/home/ags",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/85kgmnc3iny1wbziqa6a6i2alprkyg59-source/home/ags",
|
||||
"path": "/nix/store/rpz457196awqq0q33yiqnjg41m9sfs97-source/home/ags",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
luarocks
|
||||
jre
|
||||
python3
|
||||
python311Packages.python-lsp-server
|
||||
python311Packages.flake8
|
||||
python311Packages.pip
|
||||
python311Packages.debugpy
|
||||
unzip
|
||||
|
|
|
@ -119,6 +119,21 @@ return {
|
|||
}
|
||||
}
|
||||
|
||||
require('lspconfig').pylsp.setup {
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
pylsp = {
|
||||
plugins = {
|
||||
flake8 = {enabled = true},
|
||||
pycodestyle = {enabled = false},
|
||||
pyflakes = {enabled = false},
|
||||
pylint = {enabled = false},
|
||||
mccabe = {enabled = false},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
require('lspconfig').texlab.setup {
|
||||
capabilities = capabilities
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue