jj: setup fix tools; change name

This commit is contained in:
Oleksandr Smirnov 2025-08-29 14:34:03 +03:00
parent f4d96242a9
commit aea5a5e541
No known key found for this signature in database
2 changed files with 15 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# vim: ft=gitconfig
[user]
name = Olexandr Smirnov
name = Oleksandr Smirnov
email = olexsmir@gmail.com
signingkey = ~/.ssh/id_ed25519.pub

View file

@ -1,13 +1,14 @@
#:schema https://jj-vcs.github.io/jj/latest/config-schema.json
[user]
name = "Olexandr Smirnov"
name = "Oleksandr Smirnov"
email = "olexsmir@gmail.com"
[ui]
default-command = "l"
editor = "nvim"
pager = "delta"
diff-editor = "builtin"
diff-formatter = ":git"
[signing]
@ -38,3 +39,15 @@ concat(
[revset-aliases]
"private()" = "description(glob:'private:*')"
[fix.tools.stylua]
command = ["stylua", "-"]
patterns = ["glob:'**/*.lua'"]
[fix.tools.gofumpt]
command = ["gofumpt"]
patterns = ["glob:'**/*.go'"]
[fix.tools.gleam]
command = ["gleam", "format", "--stdin"]
patterns = ["glob:'**/*.gleam'"]