Skip to content

Commit

Permalink
update reliq.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
TUVIMEN committed Feb 26, 2025
1 parent 9b5d1ba commit 880f6b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions reliq.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ syn match rqOneLineComment '\(\s\|^\)\/\/.*'
syn region rqMultilineComment start=+\(\s\|^\)/\*+ end=+\*/+

" shortened matching hooks
syn match rqHooks "\s[+-]\?[mMaLlcCpPeI]@"
syn match rqHooks "\s[+-]\?[AiSnaeE]@"
" shortened global matching hooks
syn match rqHooks "\s[+-]\?\([lLpPIc]\|C[cta]\)@"
" global matching hooks
syn match rqHooks "\s[+-]\?\(level\|levelrelative\|positionrelative\|position\|index\)@"
syn match rqHooks "\s[+-]\?\(level\|levelrelative\|positionrelative\|position\|index\|count\|countcomments\|counttext\|countall\)@"
" matching hooks
syn match rqHooks "\s[+-]\?\(match\|tagmatch\|attributes\|childmatch\|endmatch\)@"
syn match rqHooks "\s[+-]\?\(all\|insides\|start\|name\|attributes\|has\|end\|endstrip\)@"
" shortened access hooks
syn match rqHooks "\s\(desc\|sibl\|spre\|ssub\|fsibl\|fspre\|fssub\|rparent\)@"
" access hooks
Expand Down

0 comments on commit 880f6b9

Please sign in to comment.