moved the editor to helix

This commit is contained in:
Rouven Seifert 2023-04-22 14:15:53 +02:00
parent 84c821c66a
commit 73d5ac0435
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
10 changed files with 67 additions and 430 deletions

View file

@ -0,0 +1,44 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
lldb
rust-analyzer
nil
(python3.withPackages (ps: with ps; [
pyls-isort
pylsp-mypy
python-lsp-black
python-lsp-server
# pylsp optional dependencies
types-requests
flake8
mccabe
pycodestyle
pydocstyle
pyflakes
pylint
]))
clang-tools
];
programs.helix = {
enable = true;
themes.dracula-transparent = {
inherits = "dracula";
# hacky way to get the background transparent
"ui.background" = "{}";
};
settings = {
theme = "dracula-transparent";
editor = {
line-number = "relative";
cursor-shape.insert = "bar";
lsp = {
display-messages = true;
display-inlay-hints = true;
};
};
};
};
}