temporarily switch to alacritty; add black for pylsp

This commit is contained in:
chayleaf 2024-06-05 00:16:21 +07:00
parent c415a21fae
commit 762e02ef3f
Signed by: chayleaf
GPG key ID: 78171AD46227E68E
2 changed files with 3 additions and 1 deletions

View file

@ -42,7 +42,7 @@
home.stateVersion = "22.11"; home.stateVersion = "22.11";
home.username = "user"; home.username = "user";
home.homeDirectory = "/home/user"; home.homeDirectory = "/home/user";
terminals = [ "kitty" ]; terminals = [ "alacritty" "foot" "kitty" ];
# xsession.windowManager.i3.enable = true; # xsession.windowManager.i3.enable = true;
wayland.windowManager.sway.enable = true; wayland.windowManager.sway.enable = true;
services.kdeconnect.enable = true; services.kdeconnect.enable = true;

View file

@ -80,6 +80,7 @@
ripgrep ripgrep
(python3.withPackages (p: with p; [ (python3.withPackages (p: with p; [
python-lsp-server python-lsp-server
python-lsp-black
pylsp-mypy pylsp-mypy
python-lsp-server.optional-dependencies.pyflakes python-lsp-server.optional-dependencies.pyflakes
python-lsp-server.optional-dependencies.mccabe python-lsp-server.optional-dependencies.mccabe
@ -433,6 +434,7 @@
pylsp = { pylsp = {
settings = { settings = {
pylsp.plugins.pylsp_mypy.enabled = true; pylsp.plugins.pylsp_mypy.enabled = true;
pylsp.plugins.black.enabled = true;
}; };
}; };
svelte = { }; svelte = { };