Configured helix nix formatter

This commit is contained in:
William 2023-08-19 12:08:07 -03:00
parent 3f8bd4cb7e
commit 394e6fa46d
3 changed files with 10 additions and 15 deletions

View file

@ -23,6 +23,7 @@
cursor-shape.insert = "bar";
mouse = false;
soft-wrap.enable = true;
auto-format = true;
};
keys.normal.space = {
space = "file_picker";
@ -31,6 +32,13 @@
esc = [ "collapse_selection" "keep_primary_selection" ];
};
};
languages = {
language = [{
name = "nix";
auto-format = true;
formatter.command = "nixfmt";
}];
};
themes.catppuccin-mocha_transparent = {
inherits = "catppuccin_mocha";
"ui.background" = "{}";
@ -150,24 +158,13 @@
};
};
micro = {
enable = true;
settings = {
clipboard = "terminal";
mkparents = true;
scrollbar = true;
tabstospaces = true;
tabsize = 2;
colorscheme = "simple";
};
};
fish = {
enable = true;
interactiveShellInit = "nix-your-shell fish | source";
loginShellInit = "nix-your-shell fish | source";
shellAliases = {
wget = ''wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'';
h = "hx";
};
functions = {
fish_greeting = "";