Compare commits

...

2 commits

Author SHA1 Message Date
orca 28a0baf202
Formatting, removing obsolete packages. 2024-02-03 21:30:36 +01:00
orca 76328b62ad
Use git stripspace for fish, toml and markdown. 2024-02-03 21:25:58 +01:00
3 changed files with 19 additions and 8 deletions

View file

@ -2,7 +2,7 @@
let
mathematics = with pkgs; [ zathura ];
mathematics = with pkgs; [ zathura typst typst-lsp ];
my-utilities = with pkgs; [
helix
@ -13,21 +13,17 @@ let
nixfmt
grim
radare2
typst
typst-lsp
typos
];
my-dependencies = with pkgs; [
gcc
libcxx
m4
ripgrep
btop
bat
dunst
swaybg
zathura
batsignal
];

View file

@ -7,8 +7,8 @@
userEmail = "orcinus_orca@disroot.org";
extraConfig = {
commit.gpgsign = true;
init.defaultBranch = "main";
commit.gpgsign = true;
init.defaultBranch = "main";
};
};
}

View file

@ -20,7 +20,7 @@ comment-token = "//"
injection-regex = "typ(st)?"
roots = ["typst.toml"]
auto-format = true
formatter = { command = "git", args = ["stripspace"] }
formatter = { command = "git", args = [ "stripspace" ] }
language-servers = [ { name = "typst" } ]
[language.auto-pairs]
@ -34,3 +34,18 @@ language-servers = [ { name = "typst" } ]
name = "typst"
source.git = "https://github.com/uben0/tree-sitter-typst"
source.rev = "master"
[[language]]
name = "toml"
formatter = { command = "git", args = [ "stripspace" ] }
auto-format = true
[[language]]
name = "fish"
formatter = { command = "git", args = [ "stripspace" ] }
auto-format = true
[[language]]
name = "markdown"
formatter = { command = "git", args = [ "stripspace" ] }
auto-format = true