mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 07:35:10 +01:00
format: uniform rule style
This commit is contained in:
parent
0646317abc
commit
9be1d040c4
5 changed files with 21 additions and 9 deletions
|
|
@ -61,10 +61,12 @@ command = "world"
|
|||
# note that the error is formatted to lowercase without extra spaces
|
||||
pattern = [
|
||||
"pattern 1",
|
||||
"pattern 2",
|
||||
"pattern 2"
|
||||
]
|
||||
# this will change the first argument to `fix`, while keeping the rest intact
|
||||
suggest = [ "{{command[0]}} fix {{command[2:]}}" ]
|
||||
suggest = [
|
||||
"{{command[0]}} fix {{command[2:]}}",
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
|
|
@ -76,7 +78,8 @@ pattern = [
|
|||
suggest = [
|
||||
'''
|
||||
#[executable(sudo), !cmd_contains(sudo)]
|
||||
sudo {{command}}'''
|
||||
sudo {{command}}
|
||||
'''
|
||||
]
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue