mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
jj: setup fix tools; change name
This commit is contained in:
parent
f4d96242a9
commit
aea5a5e541
2 changed files with 15 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
# vim: ft=gitconfig
|
# vim: ft=gitconfig
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Olexandr Smirnov
|
name = Oleksandr Smirnov
|
||||||
email = olexsmir@gmail.com
|
email = olexsmir@gmail.com
|
||||||
signingkey = ~/.ssh/id_ed25519.pub
|
signingkey = ~/.ssh/id_ed25519.pub
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,14 @@
|
||||||
#:schema https://jj-vcs.github.io/jj/latest/config-schema.json
|
#:schema https://jj-vcs.github.io/jj/latest/config-schema.json
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = "Olexandr Smirnov"
|
name = "Oleksandr Smirnov"
|
||||||
email = "olexsmir@gmail.com"
|
email = "olexsmir@gmail.com"
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
default-command = "l"
|
default-command = "l"
|
||||||
editor = "nvim"
|
editor = "nvim"
|
||||||
pager = "delta"
|
pager = "delta"
|
||||||
|
diff-editor = "builtin"
|
||||||
diff-formatter = ":git"
|
diff-formatter = ":git"
|
||||||
|
|
||||||
[signing]
|
[signing]
|
||||||
|
|
@ -38,3 +39,15 @@ concat(
|
||||||
|
|
||||||
[revset-aliases]
|
[revset-aliases]
|
||||||
"private()" = "description(glob:'private:*')"
|
"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'"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue