Cleaner kakoune configuration

This commit is contained in:
Filippo Berto 2023-01-06 10:02:12 +01:00
parent a39ad62ae5
commit 3e95ab122d
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
9 changed files with 61 additions and 23 deletions

View file

@ -1,9 +1,17 @@
{ pkgs, ... }: {
home.packages = with pkgs;
[ black ] ++ (with pkgs.python3Packages; [
python-lsp-server
# pyls-black # not updated to the new pylsp
pyls-flake8
pyls-isort
]);
{ pkgs, lib, config, ... }: {
home.packages = with pkgs; [
black
] ++ lib.optionals config.programs.helix.enable [
python3Packages.python-lsp-server # PYLSP
# python3Packages.pyls-mypy # MYPY # NOT UPDATED
python3Packages.pyls-flake8 # FLAKE8
# python3Packages.pyls-black # BLACK # NOT UPDATED
python3Packages.pyls-isort # ISORT
] ++ lib.optionals config.programs.kakoune.enable [
python3Packages.python-lsp-server # PYLSP
# python3Packages.pyls-mypy # MYPY # NOT UPDATED
python3Packages.pyls-flake8 # FLAKE8
# python3Packages.pyls-black # BLACK # NOT UPDATED
python3Packages.pyls-isort # ISORT
];
}