mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
rc git: Highlight commands differently from pick
The `pick` command in a rebase commit is virtually a no-op, but other commands actually do things. This commit visually communicates that fact. Fixes #3208.
This commit is contained in:
parent
15df0fc781
commit
fde2550478
@ -49,5 +49,5 @@ add-highlighter shared/git-notes regex '^\h*#[^\n]*$' 0:comment
|
||||
provide-module git-rebase %{
|
||||
add-highlighter shared/git-rebase group
|
||||
add-highlighter shared/git-rebase/ regex "#[^\n]*\n" 0:comment
|
||||
add-highlighter shared/git-rebase/ regex "^(pick|edit|reword|squash|fixup|exec|break|drop|label|reset|merge|[persfxbdltm]) (\w+)" 1:keyword 2:meta
|
||||
add-highlighter shared/git-rebase/ regex "^(?:(pick|p)|(edit|reword|squash|fixup|exec|break|drop|label|reset|merge|[ersfxbdltm])) (\w+)" 1:keyword 2:value 3:meta
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user