Add highlight group to highlighters rmhl hooks
This commit is contained in:
parent
e194ca7da7
commit
a68f5f20a1
|
@ -38,8 +38,9 @@ hook global WinSetOption filetype=clojure %[
|
||||||
hook window InsertChar \n -group clojure-indent _clojure_indent_on_new_line
|
hook window InsertChar \n -group clojure-indent _clojure_indent_on_new_line
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hook -group clojure-highlight WinSetOption filetype=(?!clojure).* %{ rmhl clojure }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!clojure).* %{
|
hook global WinSetOption filetype=(?!clojure).* %{
|
||||||
rmhl clojure
|
|
||||||
rmhooks window clojure-indent
|
rmhooks window clojure-indent
|
||||||
rmhooks window clojure-hooks
|
rmhooks window clojure-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,8 +76,9 @@ hook global WinSetOption filetype=css %[
|
||||||
set comment_line_chars ""
|
set comment_line_chars ""
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hook -group css-highlight global WinSetOption filetype=(?!css).* %{ rmhl css }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!css).* %{
|
hook global WinSetOption filetype=(?!css).* %{
|
||||||
rmhl css
|
|
||||||
rmhooks window css-indent
|
rmhooks window css-indent
|
||||||
rmhooks window css-hooks
|
rmhooks window css-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,9 +115,9 @@ hook global WinSetOption filetype=dlang %{
|
||||||
set window comment_selection_chars "/+:+/"
|
set window comment_selection_chars "/+:+/"
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!dlang).* %{
|
hool -group dlang-highlight global WinSetOption filetype=(?!dlang).* %{ rmhl dlang }
|
||||||
rmhl dlang
|
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(?!dlang).* %{
|
||||||
rmhooks window dlang-hooks
|
rmhooks window dlang-hooks
|
||||||
rmhooks window dlang-indent
|
rmhooks window dlang-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ addhl -group /etc-resolv-conf regex ^#.*?$ 0:comment
|
||||||
addhl -group /etc-resolv-conf regex ^(nameserver|server|domain|sortlist|options)[\s\t]+(.*?)$ 1:type 2:attribute
|
addhl -group /etc-resolv-conf regex ^(nameserver|server|domain|sortlist|options)[\s\t]+(.*?)$ 1:type 2:attribute
|
||||||
|
|
||||||
hook -group etc-resolv-conf-highlight global WinSetOption filetype=etc-resolv-conf %{ addhl ref etc-resolv-conf }
|
hook -group etc-resolv-conf-highlight global WinSetOption filetype=etc-resolv-conf %{ addhl ref etc-resolv-conf }
|
||||||
hook global WinSetOption filetype=(?!etc-resolv-conf).* %{ rmhl etc-resolv-conf }
|
hook -group etc-resolv-conf-highlight global WinSetOption filetype=(?!etc-resolv-conf).* %{ rmhl etc-resolv-conf }
|
||||||
|
|
||||||
## /etc/hosts
|
## /etc/hosts
|
||||||
addhl -group / group etc-hosts
|
addhl -group / group etc-hosts
|
||||||
|
@ -26,7 +26,7 @@ addhl -group /etc-hosts regex ^(.+?)[\s\t]+?(.*?)$ 1:type 2:attribute
|
||||||
addhl -group /etc-hosts regex \#.*?$ 0:comment
|
addhl -group /etc-hosts regex \#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group etc-hosts-highlight global WinSetOption filetype=etc-hosts %{ addhl ref etc-hosts }
|
hook -group etc-hosts-highlight global WinSetOption filetype=etc-hosts %{ addhl ref etc-hosts }
|
||||||
hook global WinSetOption filetype=(?!etc-hosts).* %{ rmhl etc-hosts }
|
hook -group etc-hosts-highlight global WinSetOption filetype=(?!etc-hosts).* %{ rmhl etc-hosts }
|
||||||
|
|
||||||
## /etc/fstab
|
## /etc/fstab
|
||||||
addhl -group / group etc-fstab
|
addhl -group / group etc-fstab
|
||||||
|
@ -34,33 +34,33 @@ addhl -group /etc-fstab regex ^(\S{1,})\s+?(\S{1,})\s+?(\S{1,})\s+?(\S{1,})\s+?(
|
||||||
addhl -group /etc-fstab regex \#.*?$ 0:comment
|
addhl -group /etc-fstab regex \#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group etc-fstab-highlight global WinSetOption filetype=etc-fstab %{ addhl ref etc-fstab }
|
hook -group etc-fstab-highlight global WinSetOption filetype=etc-fstab %{ addhl ref etc-fstab }
|
||||||
hook global WinSetOption filetype=(?!etc-fstab).* %{ rmhl etc-fstab }
|
hook -group etc-fstab-highlight global WinSetOption filetype=(?!etc-fstab).* %{ rmhl etc-fstab }
|
||||||
|
|
||||||
## /etc/group
|
## /etc/group
|
||||||
addhl -group / group etc-group
|
addhl -group / group etc-group
|
||||||
addhl -group /etc-group regex ^(\S+?):(\S+?)?:(\S+?)?:(\S+?)?$ 1:keyword 2:type 3:value 4:string
|
addhl -group /etc-group regex ^(\S+?):(\S+?)?:(\S+?)?:(\S+?)?$ 1:keyword 2:type 3:value 4:string
|
||||||
|
|
||||||
hook -group etc-group-highlight global WinSetOption filetype=etc-group %{ addhl ref etc-group }
|
hook -group etc-group-highlight global WinSetOption filetype=etc-group %{ addhl ref etc-group }
|
||||||
hook global WinSetOption filetype=(?!etc-group).* %{ rmhl etc-group }
|
hook -group etc-group-highlight global WinSetOption filetype=(?!etc-group).* %{ rmhl etc-group }
|
||||||
|
|
||||||
## /etc/gshadow
|
## /etc/gshadow
|
||||||
addhl -group / group etc-gshadow
|
addhl -group / group etc-gshadow
|
||||||
addhl -group /etc-gshadow regex ^(\S+?):(\S+?)?:(\S+?)?:(\S+?)?$ 1:keyword 2:type 3:value 4:string
|
addhl -group /etc-gshadow regex ^(\S+?):(\S+?)?:(\S+?)?:(\S+?)?$ 1:keyword 2:type 3:value 4:string
|
||||||
|
|
||||||
hook -group etc-gshadow-highlight global WinSetOption filetype=etc-gshadow %{ addhl ref etc-gshadow }
|
hook -group etc-gshadow-highlight global WinSetOption filetype=etc-gshadow %{ addhl ref etc-gshadow }
|
||||||
hook global WinSetOption filetype=(?!etc-gshadow).* %{ rmhl etc-gshadow }
|
hook -group etc-gshadow-highlight global WinSetOption filetype=(?!etc-gshadow).* %{ rmhl etc-gshadow }
|
||||||
|
|
||||||
## /etc/shadow
|
## /etc/shadow
|
||||||
addhl -group / group etc-shadow
|
addhl -group / group etc-shadow
|
||||||
addhl -group /etc-shadow regex ^(\S+?):(\S+?):([0-9]+?):([0-9]+?)?:([0-9]+?)?:([0-9]+?)?:([0-9]+?)?:([0-9]+?)?:(.*?)?$ 1:keyword 2:type 3:value 4:value 5:value 6:value 7:value 8:value
|
addhl -group /etc-shadow regex ^(\S+?):(\S+?):([0-9]+?):([0-9]+?)?:([0-9]+?)?:([0-9]+?)?:([0-9]+?)?:([0-9]+?)?:(.*?)?$ 1:keyword 2:type 3:value 4:value 5:value 6:value 7:value 8:value
|
||||||
|
|
||||||
hook -group etc-shadow-highlight global WinSetOption filetype=etc-shadow %{ addhl ref etc-shadow }
|
hook -group etc-shadow-highlight global WinSetOption filetype=etc-shadow %{ addhl ref etc-shadow }
|
||||||
hook global WinSetOption filetype=(?!etc-shadow).* %{ rmhl etc-shadow }
|
hook -group etc-shadow-highlight global WinSetOption filetype=(?!etc-shadow).* %{ rmhl etc-shadow }
|
||||||
|
|
||||||
## /etc/passwd
|
## /etc/passwd
|
||||||
addhl -group / group etc-passwd
|
addhl -group / group etc-passwd
|
||||||
addhl -group /etc-passwd regex ^(\S+?):(\S+?):([0-9]+?):([0-9]+?):(.*?)?:(.+?):(.+?)$ 1:keyword 2:type 3:value 4:value 5:string 6:attribute 7:attribute
|
addhl -group /etc-passwd regex ^(\S+?):(\S+?):([0-9]+?):([0-9]+?):(.*?)?:(.+?):(.+?)$ 1:keyword 2:type 3:value 4:value 5:string 6:attribute 7:attribute
|
||||||
|
|
||||||
hook -group etc-passwd-highlight global WinSetOption filetype=etc-passwd %{ addhl ref etc-passwd }
|
hook -group etc-passwd-highlight global WinSetOption filetype=etc-passwd %{ addhl ref etc-passwd }
|
||||||
hook global WinSetOption filetype=(?!etc-passwd).* %{ rmhl etc-passwd }
|
hook -group etc-passwd-highlight global WinSetOption filetype=(?!etc-passwd).* %{ rmhl etc-passwd }
|
||||||
|
|
||||||
|
|
|
@ -71,8 +71,9 @@ hook global WinSetOption filetype=fish %{
|
||||||
hook window InsertChar \n -group fish-indent _fish_indent_on_new_line
|
hook window InsertChar \n -group fish-indent _fish_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group fish-highlight global WinSetOption filetype=(?!fish).* %{ rmhl fish }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!fish).* %{
|
hook global WinSetOption filetype=(?!fish).* %{
|
||||||
rmhl fish
|
|
||||||
rmhooks window fish-indent
|
rmhooks window fish-indent
|
||||||
rmhooks window fish-hooks
|
rmhooks window fish-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,8 +91,8 @@ hook global WinSetOption filetype=gas %{
|
||||||
hook window InsertChar \n -group gas-indent _gas_indent_on_new_line
|
hook window InsertChar \n -group gas-indent _gas_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!gas).* %{
|
hool -group gas-highlight global WinSetOption filetype=(?!gas).* %{ rmhl gas }
|
||||||
rmhl gas
|
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(?!gas).* %{
|
||||||
rmhooks window gas-indent
|
rmhooks window gas-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +11,7 @@ hook -group git-commit-highlight global WinSetOption filetype=git-commit %{
|
||||||
addhl -group git-commit-highlight ref diff # highlight potential diffs from the -v option
|
addhl -group git-commit-highlight ref diff # highlight potential diffs from the -v option
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!git-commit).* %{
|
hook -group git-commit-highlight global WinSetOption filetype=(?!git-commit).* %{ rmhl git-commit-highlight }
|
||||||
rmhl git-commit-highlight
|
|
||||||
}
|
|
||||||
|
|
||||||
hook global BufCreate .*git-rebase-todo %{
|
hook global BufCreate .*git-rebase-todo %{
|
||||||
set buffer filetype git-rebase
|
set buffer filetype git-rebase
|
||||||
|
@ -25,6 +23,4 @@ hook -group git-rebase-highlight global WinSetOption filetype=git-rebase %{
|
||||||
addhl -group git-rebase-highlight regex "^(pick|edit|reword|squash|fixup|exec|[persfx]) (\w+)" 1:green 2:magenta
|
addhl -group git-rebase-highlight regex "^(pick|edit|reword|squash|fixup|exec|[persfx]) (\w+)" 1:green 2:magenta
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!git-rebase).* %{
|
hook -group git-rebase-highlight global WinSetOption filetype=(?!git-rebase).* %{ rmhl git-rebase-highlight }
|
||||||
rmhl git-rebase-highlight
|
|
||||||
}
|
|
||||||
|
|
|
@ -96,9 +96,9 @@ hook global WinSetOption filetype=golang %{
|
||||||
set window formatcmd "gofmt"
|
set window formatcmd "gofmt"
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!golang).* %{
|
hool -group golang-highlight global WinSetOption filetype=(?!golang).* %{ rmhl golang }
|
||||||
rmhl golang
|
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(?!golang).* %{
|
||||||
rmhooks window golang-hooks
|
rmhooks window golang-hooks
|
||||||
rmhooks window golang-indent
|
rmhooks window golang-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,8 +65,9 @@ hook global WinSetOption filetype=haskell %{
|
||||||
hook window InsertChar \n -group haskell-indent _haskell_indent_on_new_line
|
hook window InsertChar \n -group haskell-indent _haskell_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group haskell-highlight global WinSetOption filetype=(?!haskell).* %{ rmhl haskell }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!haskell).* %{
|
hook global WinSetOption filetype=(?!haskell).* %{
|
||||||
rmhl haskell
|
|
||||||
rmhooks window haskell-indent
|
rmhooks window haskell-indent
|
||||||
rmhooks window haskell-hooks
|
rmhooks window haskell-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,8 +73,9 @@ hook global WinSetOption filetype=html %{
|
||||||
set window comment_selection_chars '<!--:-->'
|
set window comment_selection_chars '<!--:-->'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group html-highlight global WinSetOption filetype=(?!html).* %{ rmhl html }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!html).* %{
|
hook global WinSetOption filetype=(?!html).* %{
|
||||||
rmhl html
|
|
||||||
rmhooks window html-indent
|
rmhooks window html-indent
|
||||||
rmhooks window html-hooks
|
rmhooks window html-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,4 @@ addhl -group /ini-highlighter/code regex "^\h*([^\[][^=\n]*=)([^\n]*)" 1:identif
|
||||||
addhl -group /ini-highlighter/comment fill comment
|
addhl -group /ini-highlighter/comment fill comment
|
||||||
|
|
||||||
hook -group ini-highlight global WinSetOption filetype=ini %{ addhl ref ini-highlighter }
|
hook -group ini-highlight global WinSetOption filetype=ini %{ addhl ref ini-highlighter }
|
||||||
hook global WinSetOption filetype=(?!ini).* %{ rmhl ini-highlighter }
|
hook -group ini-highlight global WinSetOption filetype=(?!ini).* %{ rmhl ini-highlighter }
|
||||||
|
|
|
@ -20,4 +20,4 @@ addhl -group /java/code regex "\b(while|for|if|else|do|static|switch|case|defaul
|
||||||
addhl -group /java/code regex "\b(final|public|protected|private|abstract)\b" 0:attribute
|
addhl -group /java/code regex "\b(final|public|protected|private|abstract)\b" 0:attribute
|
||||||
|
|
||||||
hook -group java-highlight global WinSetOption filetype=java %{ addhl ref java }
|
hook -group java-highlight global WinSetOption filetype=java %{ addhl ref java }
|
||||||
hook global WinSetOption filetype=(?!java).* %{ rmhl java }
|
hook -group java-highlight global WinSetOption filetype=(?!java).* %{ rmhl java }
|
||||||
|
|
|
@ -74,8 +74,9 @@ hook global WinSetOption filetype=javascript %{
|
||||||
hook window InsertChar \n -group javascript-indent _javascript_indent_on_new_line
|
hook window InsertChar \n -group javascript-indent _javascript_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group javascript-highlight global WinSetOption filetype=(?!javascript).* %{ rmhl javascript }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!javascript).* %{
|
hook global WinSetOption filetype=(?!javascript).* %{
|
||||||
rmhl javascript
|
|
||||||
rmhooks window javascript-indent
|
rmhooks window javascript-indent
|
||||||
rmhooks window javascript-hooks
|
rmhooks window javascript-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,8 +59,9 @@ hook global WinSetOption filetype=json %{
|
||||||
hook window InsertChar \n -group json-indent _json_indent_on_new_line
|
hook window InsertChar \n -group json-indent _json_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group json-highlight global WinSetOption filetype=(?!json).* %{ rmhl json }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!json).* %{
|
hook global WinSetOption filetype=(?!json).* %{
|
||||||
rmhl json
|
|
||||||
rmhooks window json-indent
|
rmhooks window json-indent
|
||||||
rmhooks window json-hooks
|
rmhooks window json-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,4 +27,4 @@ addhl -group /julia/code regex \b(Number|Real|BigInt|Integer|UInt|UInt8|UInt16|U
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook -group julia-highlight global WinSetOption filetype=julia %{ addhl ref julia }
|
hook -group julia-highlight global WinSetOption filetype=julia %{ addhl ref julia }
|
||||||
hook global WinSetOption filetype=(?!julia).* %{ rmhl julia }
|
hook -group julia-highlight global WinSetOption filetype=(?!julia).* %{ rmhl julia }
|
||||||
|
|
|
@ -54,8 +54,9 @@ hook global WinSetOption filetype=lisp %{
|
||||||
hook window InsertChar \n -group lisp-indent _lisp_indent_on_new_line
|
hook window InsertChar \n -group lisp-indent _lisp_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group lisp-highlight global WinSetOption filetype=(?!lisp).* %{ rmhl lisp }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!lisp).* %{
|
hook global WinSetOption filetype=(?!lisp).* %{
|
||||||
rmhl lisp
|
|
||||||
rmhooks window lisp-indent
|
rmhooks window lisp-indent
|
||||||
rmhooks window lisp-hooks
|
rmhooks window lisp-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,8 +108,9 @@ hook global WinSetOption filetype=lua %{
|
||||||
set window comment_selection_chars '\Q--[[:]]'
|
set window comment_selection_chars '\Q--[[:]]'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group lua-highlight global WinSetOption filetype=(?!lua).* %{ rmhl lua }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!lua).* %{
|
hook global WinSetOption filetype=(?!lua).* %{
|
||||||
rmhl lua
|
|
||||||
rmhooks window lua-indent
|
rmhooks window lua-indent
|
||||||
rmhooks window lua-hooks
|
rmhooks window lua-hooks
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,4 @@ addhl -group /mail regex <[^@>]+@.*?> 0:string
|
||||||
addhl -group /mail regex ^>.*?$ 0:comment
|
addhl -group /mail regex ^>.*?$ 0:comment
|
||||||
|
|
||||||
hook -group mail-highlight global WinSetOption filetype=mail %{ addhl ref mail }
|
hook -group mail-highlight global WinSetOption filetype=mail %{ addhl ref mail }
|
||||||
hook global WinSetOption filetype=(?!mail).* %{ rmhl mail }
|
hook -group mail-highlight global WinSetOption filetype=(?!mail).* %{ rmhl mail }
|
||||||
|
|
|
@ -68,7 +68,8 @@ hook global WinSetOption filetype=markdown %{
|
||||||
hook window InsertChar \n -group markdown-indent _markdown_indent_on_new_line
|
hook window InsertChar \n -group markdown-indent _markdown_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group markdown-highlight global WinSetOption filetype=(?!markdown).* %{ rmhl markdown }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!markdown).* %{
|
hook global WinSetOption filetype=(?!markdown).* %{
|
||||||
rmhl markdown
|
|
||||||
rmhooks window markdown-indent
|
rmhooks window markdown-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,9 +123,9 @@ hook global WinSetOption filetype=perl %{
|
||||||
set window comment_line_chars "#"
|
set window comment_line_chars "#"
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!perl).* %{
|
hool -group perl-highlight global WinSetOption filetype=(?!perl).* %{ rmhl perl }
|
||||||
rmhl perl
|
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(?!perl).* %{
|
||||||
rmhooks window perl-hooks
|
rmhooks window perl-hooks
|
||||||
rmhooks window perl-indent
|
rmhooks window perl-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,8 +168,9 @@ hook global WinSetOption filetype=ruby %{
|
||||||
set window formatcmd 'rubocop --auto-correct --stdin - -o /dev/null | sed 1d'
|
set window formatcmd 'rubocop --auto-correct --stdin - -o /dev/null | sed 1d'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group ruby-highlight global WinSetOption filetype=(?!ruby).* %{ rmhl ruby }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!ruby).* %{
|
hook global WinSetOption filetype=(?!ruby).* %{
|
||||||
rmhl ruby
|
|
||||||
rmhooks window ruby-indent
|
rmhooks window ruby-indent
|
||||||
rmhooks window ruby-insert
|
rmhooks window ruby-insert
|
||||||
|
|
||||||
|
|
|
@ -85,8 +85,9 @@ hook global WinSetOption filetype=rust %[
|
||||||
hook window InsertChar \} -group rust-indent _rust_indent_on_closing_curly_brace
|
hook window InsertChar \} -group rust-indent _rust_indent_on_closing_curly_brace
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hool -group rust-highlight global WinSetOption filetype=(?!rust).* %{ rmhl rust }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!rust).* %{
|
hook global WinSetOption filetype=(?!rust).* %{
|
||||||
rmhl rust
|
|
||||||
rmhooks window rust-indent
|
rmhooks window rust-indent
|
||||||
rmhooks window rust-hooks
|
rmhooks window rust-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,8 +74,9 @@ hook global WinSetOption filetype=scala %[
|
||||||
hook window InsertChar \} -group scala-indent _scala_indent_on_closing_curly_brace
|
hook window InsertChar \} -group scala-indent _scala_indent_on_closing_curly_brace
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hool -group scala-highlight global WinSetOption filetype=(?!scala).* %{ rmhl scala }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!scala).* %{
|
hook global WinSetOption filetype=(?!scala).* %{
|
||||||
rmhl scala
|
|
||||||
rmhooks window scala-indent
|
rmhooks window scala-indent
|
||||||
rmhooks window scala-hooks
|
rmhooks window scala-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,4 +24,4 @@ addhl -group /swift/code regex "\<(IBAction|IBOutlet)\>" 0:attribute
|
||||||
addhl -group /swift/code regex "@\w+\>" 0:attribute
|
addhl -group /swift/code regex "@\w+\>" 0:attribute
|
||||||
|
|
||||||
hook -group swift-highlight global WinSetOption filetype=swift %{ addhl ref swift }
|
hook -group swift-highlight global WinSetOption filetype=swift %{ addhl ref swift }
|
||||||
hook global WinSetOption filetype=(?!swift).* %{ rmhl swift }
|
hook -group swift-highlight global WinSetOption filetype=(?!swift).* %{ rmhl swift }
|
||||||
|
|
|
@ -59,8 +59,9 @@ hook global WinSetOption filetype=yaml %{
|
||||||
hook window InsertChar \n -group yaml-indent _yaml_indent_on_new_line
|
hook window InsertChar \n -group yaml-indent _yaml_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group yaml-highlight global WinSetOption filetype=(?!yaml).* %{ rmhl yaml }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!yaml).* %{
|
hook global WinSetOption filetype=(?!yaml).* %{
|
||||||
rmhl yaml
|
|
||||||
rmhooks window yaml-indent
|
rmhooks window yaml-indent
|
||||||
rmhooks window yaml-hooks
|
rmhooks window yaml-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,4 +29,4 @@ addhl -group /asciidoc regex ^:[-\w]+: 0:meta
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
#
|
#
|
||||||
hook -group asciidoc-highlight global WinSetOption filetype=asciidoc %{ addhl ref asciidoc }
|
hook -group asciidoc-highlight global WinSetOption filetype=asciidoc %{ addhl ref asciidoc }
|
||||||
hook global WinSetOption filetype=(?!asciidoc).* %{ rmhl asciidoc }
|
hook -group asciidoc-highlight global WinSetOption filetype=(?!asciidoc).* %{ rmhl asciidoc }
|
||||||
|
|
|
@ -253,13 +253,13 @@ hook global WinSetOption filetype=(?!(c|cpp|objc)$).* %[
|
||||||
]
|
]
|
||||||
|
|
||||||
hook -group c-highlight global WinSetOption filetype=c %[ addhl ref c ]
|
hook -group c-highlight global WinSetOption filetype=c %[ addhl ref c ]
|
||||||
hook global WinSetOption filetype=(?!c$).* %[ rmhl c ]
|
hook -group c-highlight global WinSetOption filetype=(?!c$).* %[ rmhl c ]
|
||||||
|
|
||||||
hook -group cpp-highlight global WinSetOption filetype=cpp %[ addhl ref cpp ]
|
hook -group cpp-highlight global WinSetOption filetype=cpp %[ addhl ref cpp ]
|
||||||
hook global WinSetOption filetype=(?!cpp$).* %[ rmhl cpp ]
|
hook -group cpp-highlight global WinSetOption filetype=(?!cpp$).* %[ rmhl cpp ]
|
||||||
|
|
||||||
hook -group objc-highlight global WinSetOption filetype=objc %[ addhl ref objc ]
|
hook -group objc-highlight global WinSetOption filetype=objc %[ addhl ref objc ]
|
||||||
hook global WinSetOption filetype=(?!objc$).* %[ rmhl objc ]
|
hook -group objc-highlight global WinSetOption filetype=(?!objc$).* %[ rmhl objc ]
|
||||||
|
|
||||||
decl str c_include_guard_style "ifdef"
|
decl str c_include_guard_style "ifdef"
|
||||||
def -hidden _c-family-insert-include-guards %{
|
def -hidden _c-family-insert-include-guards %{
|
||||||
|
|
|
@ -8,4 +8,4 @@ addhl -group /diff regex "^-[^\n]*\n" 0:red,default
|
||||||
addhl -group /diff regex "^@@[^\n]*@@" 0:cyan,default
|
addhl -group /diff regex "^@@[^\n]*@@" 0:cyan,default
|
||||||
|
|
||||||
hook -group diff-highlight global WinSetOption filetype=diff %{ addhl ref diff }
|
hook -group diff-highlight global WinSetOption filetype=diff %{ addhl ref diff }
|
||||||
hook global WinSetOption filetype=(?!diff).* %{ rmhl diff }
|
hook -group diff-highlight global WinSetOption filetype=(?!diff).* %{ rmhl diff }
|
||||||
|
|
|
@ -33,8 +33,9 @@ hook global WinSetOption filetype=grep %{
|
||||||
hook buffer -group grep-hooks NormalKey <ret> grep-jump
|
hook buffer -group grep-hooks NormalKey <ret> grep-jump
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group grep-highlight global WinSetOption filetype=(?!grep).* %{ rmhl grep }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!grep).* %{
|
hook global WinSetOption filetype=(?!grep).* %{
|
||||||
rmhl grep
|
|
||||||
rmhooks buffer grep-hooks
|
rmhooks buffer grep-hooks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,4 +38,4 @@ addhl -group /kakrc/comment fill comment
|
||||||
addhl -group /kakrc/shell ref sh
|
addhl -group /kakrc/shell ref sh
|
||||||
|
|
||||||
hook -group kak-highlight global WinSetOption filetype=kak %{ addhl ref kakrc }
|
hook -group kak-highlight global WinSetOption filetype=kak %{ addhl ref kakrc }
|
||||||
hook global WinSetOption filetype=(?!kak).* %{ rmhl kakrc }
|
hook -group kak-highlight global WinSetOption filetype=(?!kak).* %{ rmhl kakrc }
|
||||||
|
|
|
@ -28,7 +28,11 @@ hook global WinSetOption filetype=make %{
|
||||||
hook buffer -group make-hooks NormalKey <ret> make-jump
|
hook buffer -group make-hooks NormalKey <ret> make-jump
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!make).* %{ rmhl make; rmhooks buffer make-hooks }
|
hool -group make-highlight global WinSetOption filetype=(?!make).* %{ rmhl make }
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(?!make).* %{
|
||||||
|
rmhooks buffer make-hooks
|
||||||
|
}
|
||||||
|
|
||||||
decl str jumpclient
|
decl str jumpclient
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@ hook global WinSetOption filetype=makefile %{
|
||||||
set window comment_line_chars "#"
|
set window comment_line_chars "#"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group makefile-highlight global WinSetOption filetype=(?!makefile).* %{ rmhl makefile }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!makefile).* %{
|
hook global WinSetOption filetype=(?!makefile).* %{
|
||||||
rmhl makefile
|
|
||||||
rmhooks window makefile-indent
|
rmhooks window makefile-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,8 +20,9 @@ hook global WinSetOption filetype=man %{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group man-highlight global WinSetOption filetype=(?!man).* %{ rmhl man-highlight }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!man).* %{
|
hook global WinSetOption filetype=(?!man).* %{
|
||||||
rmhl man-higlight
|
|
||||||
rmhooks window man-hooks
|
rmhooks window man-hooks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,8 @@ hook global WinSetOption filetype=python %{
|
||||||
set window formatcmd "autopep8 -"
|
set window formatcmd "autopep8 -"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group python-highlight global WinSetOption filetype=(?!python).* %{ rmhl python }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!python).* %{
|
hook global WinSetOption filetype=(?!python).* %{
|
||||||
rmhl python
|
|
||||||
rmhooks window python-indent
|
rmhooks window python-indent
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,4 +40,4 @@ addhl -group /sh/code regex \$(\w+|\{.+?\}|#|@|\?|\$|!|-|\*) 0:identifier
|
||||||
addhl -group /sh/double_string regex \$(\w+|\{.+?\}) 0:identifier
|
addhl -group /sh/double_string regex \$(\w+|\{.+?\}) 0:identifier
|
||||||
|
|
||||||
hook -group sh-highlight global WinSetOption filetype=sh %{ addhl ref sh }
|
hook -group sh-highlight global WinSetOption filetype=sh %{ addhl ref sh }
|
||||||
hook global WinSetOption filetype=(?!sh).* %{ rmhl sh }
|
hook -group sh-highlight global WinSetOption filetype=(?!sh).* %{ rmhl sh }
|
||||||
|
|
|
@ -72,8 +72,9 @@ hook global WinSetOption filetype=cabal %[
|
||||||
hook window InsertChar \} -group cabal-indent _cabal_indent_on_closing_curly_brace
|
hook window InsertChar \} -group cabal-indent _cabal_indent_on_closing_curly_brace
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hool -group cabal-highlight global WinSetOption filetype=(?!cabal).* %{ rmhl cabal }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!cabal).* %{
|
hook global WinSetOption filetype=(?!cabal).* %{
|
||||||
rmhl cabal
|
|
||||||
rmhooks window cabal-indent
|
rmhooks window cabal-indent
|
||||||
rmhooks window cabal-hooks
|
rmhooks window cabal-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,8 +85,9 @@ hook global WinSetOption filetype=coffee %{
|
||||||
set window comment_selection_chars '###:###'
|
set window comment_selection_chars '###:###'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group coffee-highlight global WinSetOption filetype=(?!coffee).* %{ rmhl coffee }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!coffee).* %{
|
hook global WinSetOption filetype=(?!coffee).* %{
|
||||||
rmhl coffee
|
|
||||||
rmhooks window coffee-indent
|
rmhooks window coffee-indent
|
||||||
rmhooks window coffee-hooks
|
rmhooks window coffee-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,8 +88,9 @@ hook global WinSetOption filetype=cucumber %{
|
||||||
hook window InsertChar \n -group cucumber-indent _cucumber_indent_on_new_line
|
hook window InsertChar \n -group cucumber-indent _cucumber_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group cucumber-highlight global WinSetOption filetype=(?!cucumber).* %{ rmhl cucumber }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!cucumber).* %{
|
hook global WinSetOption filetype=(?!cucumber).* %{
|
||||||
rmhl cucumber
|
|
||||||
rmhooks window cucumber-indent
|
rmhooks window cucumber-indent
|
||||||
rmhooks window cucumber-hooks
|
rmhooks window cucumber-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,4 +39,4 @@ addhl -group /dockerfile/comment fill comment
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook -group dockerfile-highlight global WinSetOption filetype=dockerfile %{ addhl ref dockerfile }
|
hook -group dockerfile-highlight global WinSetOption filetype=dockerfile %{ addhl ref dockerfile }
|
||||||
hook global WinSetOption filetype=(?!dockerfile).* %{ rmhl dockerfile }
|
hook -group dockerfile-highlight global WinSetOption filetype=(?!dockerfile).* %{ rmhl dockerfile }
|
||||||
|
|
|
@ -35,7 +35,7 @@ addhl -group /exheres-0-metadata regex ^(?:[\s\t]+)?(\S+)\s\[\[$ 0:type
|
||||||
addhl -group /exheres-0-metadata regex ^(?:[\s\t]+)?\]\]$ 0:type
|
addhl -group /exheres-0-metadata regex ^(?:[\s\t]+)?\]\]$ 0:type
|
||||||
|
|
||||||
hook -group exheres-0-metadata-highlight global WinSetOption filetype=exheres-0-metadata %{ addhl ref exheres-0-metadata }
|
hook -group exheres-0-metadata-highlight global WinSetOption filetype=exheres-0-metadata %{ addhl ref exheres-0-metadata }
|
||||||
hook global WinSetOption filetype=(?!exheres-0-metadata).* %{ rmhl exheres-0-metadata }
|
hook -group exheres-0-metadata-highlight global WinSetOption filetype=(?!exheres-0-metadata).* %{ rmhl exheres-0-metadata }
|
||||||
|
|
||||||
## exheres-0 options descriptions
|
## exheres-0 options descriptions
|
||||||
addhl -group / group exheres-0-options-descriptions
|
addhl -group / group exheres-0-options-descriptions
|
||||||
|
@ -45,7 +45,7 @@ addhl -group /exheres-0-options-descriptions regex ^(?:[\s\t]+)?(\S+)\s\[\[$ 0:t
|
||||||
addhl -group /exheres-0-options-descriptions regex ^(?:[\s\t]+)?\]\]$ 0:type
|
addhl -group /exheres-0-options-descriptions regex ^(?:[\s\t]+)?\]\]$ 0:type
|
||||||
|
|
||||||
hook -group exheres-0-options-descriptions-highlight global WinSetOption filetype=exheres-0-options-descriptions %{ addhl ref exheres-0-options-descriptions }
|
hook -group exheres-0-options-descriptions-highlight global WinSetOption filetype=exheres-0-options-descriptions %{ addhl ref exheres-0-options-descriptions }
|
||||||
hook global WinSetOption filetype=(?!exheres-0-options-descriptions).* %{ rmhl exheres-0-options-descriptions }
|
hook -group exheres-0-options-descriptions-highlight global WinSetOption filetype=(?!exheres-0-options-descriptions).* %{ rmhl exheres-0-options-descriptions }
|
||||||
|
|
||||||
## metadata/licence_groups.conf
|
## metadata/licence_groups.conf
|
||||||
addhl -group / group exheres-0-licence-groups
|
addhl -group / group exheres-0-licence-groups
|
||||||
|
@ -54,7 +54,7 @@ addhl -group /exheres-0-licence-groups regex ^(\S+) 0:type
|
||||||
addhl -group /exheres-0-licence-groups regex ^#.*?$ 0:comment
|
addhl -group /exheres-0-licence-groups regex ^#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group exheres-0-licence-groups-highlight global WinSetOption filetype=exheres-0-licence-groups %{ addhl ref exheres-0-licence-groups }
|
hook -group exheres-0-licence-groups-highlight global WinSetOption filetype=exheres-0-licence-groups %{ addhl ref exheres-0-licence-groups }
|
||||||
hook global WinSetOption filetype=(?!exheres-0-licence-groups).* %{ rmhl exheres-0-licence-groups }
|
hook -group exheres-0-licence-groups-highlight global WinSetOption filetype=(?!exheres-0-licence-groups).* %{ rmhl exheres-0-licence-groups }
|
||||||
|
|
||||||
## Paludis configurations
|
## Paludis configurations
|
||||||
### options.conf
|
### options.conf
|
||||||
|
@ -68,7 +68,7 @@ addhl -group /paludis-options-conf regex ^(\S+/\S+) 0:type
|
||||||
addhl -group /paludis-options-conf regex ^#.*?$ 0:comment
|
addhl -group /paludis-options-conf regex ^#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group paludis-options-conf-highlight global WinSetOption filetype=paludis-options-conf %{ addhl ref paludis-options-conf }
|
hook -group paludis-options-conf-highlight global WinSetOption filetype=paludis-options-conf %{ addhl ref paludis-options-conf }
|
||||||
hook global WinSetOption filetype=(?!paludis-options-conf).* %{ rmhl paludis-options-conf }
|
hook -group paludis-options-conf-highlight global WinSetOption filetype=(?!paludis-options-conf).* %{ rmhl paludis-options-conf }
|
||||||
|
|
||||||
## general.conf, repository.template
|
## general.conf, repository.template
|
||||||
addhl -group / group paludis-key-value-conf
|
addhl -group / group paludis-key-value-conf
|
||||||
|
@ -76,7 +76,7 @@ addhl -group /paludis-key-value-conf regex ^[\s\t]?(\S+)[\s\t+]=[\s\t+](.*?)$ 1:
|
||||||
addhl -group /paludis-key-value-conf regex ^#.*?$ 0:comment
|
addhl -group /paludis-key-value-conf regex ^#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group paludis-key-value-conf-highlight global WinSetOption filetype=paludis-key-value-conf %{ addhl ref paludis-key-value-conf }
|
hook -group paludis-key-value-conf-highlight global WinSetOption filetype=paludis-key-value-conf %{ addhl ref paludis-key-value-conf }
|
||||||
hook global WinSetOption filetype=(?!paludis-key-value-conf).* %{ rmhl paludis-key-value-conf }
|
hook -group paludis-key-value-conf-highlight global WinSetOption filetype=(?!paludis-key-value-conf).* %{ rmhl paludis-key-value-conf }
|
||||||
|
|
||||||
## mirrors.conf
|
## mirrors.conf
|
||||||
addhl -group / group paludis-mirrors-conf
|
addhl -group / group paludis-mirrors-conf
|
||||||
|
@ -84,7 +84,7 @@ addhl -group /paludis-mirrors-conf regex ^[\s\t+]?(\S+)[\s\t+](.*?)$ 1:type 2:va
|
||||||
addhl -group /paludis-mirrors-conf regex ^#.*?$ 0:comment
|
addhl -group /paludis-mirrors-conf regex ^#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group paludis-mirrors-conf-highlight global WinSetOption filetype=paludis-mirrors-conf %{ addhl ref paludis-mirrors-conf }
|
hook -group paludis-mirrors-conf-highlight global WinSetOption filetype=paludis-mirrors-conf %{ addhl ref paludis-mirrors-conf }
|
||||||
hook global WinSetOption filetype=(?!paludis-mirrors-conf).* %{ rmhl paludis-mirrors-conf }
|
hook -group paludis-mirrors-conf-highlight global WinSetOption filetype=(?!paludis-mirrors-conf).* %{ rmhl paludis-mirrors-conf }
|
||||||
|
|
||||||
## package_(unmask|mask).conf, platforms.conf
|
## package_(unmask|mask).conf, platforms.conf
|
||||||
addhl -group / group paludis-specs-conf
|
addhl -group / group paludis-specs-conf
|
||||||
|
@ -93,7 +93,7 @@ addhl -group /paludis-specs-conf regex ^(\S+/\S+) 0:type
|
||||||
addhl -group /paludis-specs-conf regex ^#.*?$ 0:comment
|
addhl -group /paludis-specs-conf regex ^#.*?$ 0:comment
|
||||||
|
|
||||||
hook -group paludis-specs-conf-highlight global WinSetOption filetype=paludis-specs-conf %{ addhl ref paludis-specs-conf }
|
hook -group paludis-specs-conf-highlight global WinSetOption filetype=paludis-specs-conf %{ addhl ref paludis-specs-conf }
|
||||||
hook global WinSetOption filetype=(?!paludis-specs-conf).* %{ rmhl paludis-specs-conf }
|
hook -group paludis-specs-conf-highlight global WinSetOption filetype=(?!paludis-specs-conf).* %{ rmhl paludis-specs-conf }
|
||||||
|
|
||||||
## News items (GLEP42)
|
## News items (GLEP42)
|
||||||
addhl -group / group glep42
|
addhl -group / group glep42
|
||||||
|
@ -102,4 +102,4 @@ addhl -group /glep42 regex <[^@>]+@.*?> 0:string
|
||||||
addhl -group /glep42 regex ^>.*?$ 0:comment
|
addhl -group /glep42 regex ^>.*?$ 0:comment
|
||||||
|
|
||||||
hook -group glep42-highlight global WinSetOption filetype=glep42 %{ addhl ref glep42 }
|
hook -group glep42-highlight global WinSetOption filetype=glep42 %{ addhl ref glep42 }
|
||||||
hook global WinSetOption filetype=(?!glep42).* %{ rmhl glep42 }
|
hook -group glep42-highlight global WinSetOption filetype=(?!glep42).* %{ rmhl glep42 }
|
||||||
|
|
|
@ -7,18 +7,14 @@ hook -group git-log-highlight global WinSetOption filetype=git-log %{
|
||||||
addhl -group git-log-highlight ref diff # highlight potential diffs from the -p option
|
addhl -group git-log-highlight ref diff # highlight potential diffs from the -p option
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!git-log).* %{
|
hook -group git-log-highlight global WinSetOption filetype=(?!git-log).* %{ rmhl git-log-highlight }
|
||||||
rmhl git-log-highlight
|
|
||||||
}
|
|
||||||
|
|
||||||
hook -group git-status-highlight global WinSetOption filetype=git-status %{
|
hook -group git-status-highlight global WinSetOption filetype=git-status %{
|
||||||
addhl group git-status-highlight
|
addhl group git-status-highlight
|
||||||
addhl -group git-status-highlight regex '^\h+(?:((?:both )?modified:)|(added:|new file:)|(deleted(?: by \w+)?:)|(renamed:)|(copied:))(?:.*?)$' 1:yellow 2:green 3:red 4:cyan 5:blue 6:magenta
|
addhl -group git-status-highlight regex '^\h+(?:((?:both )?modified:)|(added:|new file:)|(deleted(?: by \w+)?:)|(renamed:)|(copied:))(?:.*?)$' 1:yellow 2:green 3:red 4:cyan 5:blue 6:magenta
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!git-status).* %{
|
hook -group git-status-highlight global WinSetOption filetype=(?!git-status).* %{ rmhl git-status-highlight }
|
||||||
rmhl git-status-highlight
|
|
||||||
}
|
|
||||||
|
|
||||||
decl line-flags git_blame_flags
|
decl line-flags git_blame_flags
|
||||||
decl line-flags git_diff_flags
|
decl line-flags git_diff_flags
|
||||||
|
|
|
@ -65,8 +65,9 @@ hook global WinSetOption filetype=haml %{
|
||||||
hook window InsertChar \n -group haml-indent _haml_indent_on_new_line
|
hook window InsertChar \n -group haml-indent _haml_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group haml-highlight global WinSetOption filetype=(?!haml).* %{ rmhl haml }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!haml).* %{
|
hook global WinSetOption filetype=(?!haml).* %{
|
||||||
rmhl haml
|
|
||||||
rmhooks window haml-indent
|
rmhooks window haml-indent
|
||||||
rmhooks window haml-hooks
|
rmhooks window haml-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,4 +27,4 @@ addhl -group /kickstart/shell ref sh
|
||||||
|
|
||||||
|
|
||||||
hook -group kickstart-highlight global WinSetOption filetype=kickstart %{ addhl ref kickstart }
|
hook -group kickstart-highlight global WinSetOption filetype=kickstart %{ addhl ref kickstart }
|
||||||
hook global WinSetOption filetype=(?!kickstart).* %{ rmhl kickstart }
|
hook -group kickstart-highlight global WinSetOption filetype=(?!kickstart).* %{ rmhl kickstart }
|
||||||
|
|
|
@ -39,6 +39,4 @@ hook global WinSetOption filetype=latex %{
|
||||||
set window comment_line_chars '%'
|
set window comment_line_chars '%'
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!latex).* %{
|
hook -group latex-highlight global WinSetOption filetype=(?!latex).* %{ rmhl latex }
|
||||||
rmhl latex
|
|
||||||
}
|
|
||||||
|
|
|
@ -111,8 +111,9 @@ hook global WinSetOption filetype=moon %{
|
||||||
set window comment_selection_chars ''
|
set window comment_selection_chars ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group moon-highlight global WinSetOption filetype=(?!moon).* %{ rmhl moon }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!moon).* %{
|
hook global WinSetOption filetype=(?!moon).* %{
|
||||||
rmhl moon
|
|
||||||
rmhooks window moon-indent
|
rmhooks window moon-indent
|
||||||
rmhooks window moon-hooks
|
rmhooks window moon-hooks
|
||||||
|
|
||||||
|
|
|
@ -76,8 +76,9 @@ hook global WinSetOption filetype=pug %{
|
||||||
hook window InsertChar \n -group pug-indent _pug_indent_on_new_line
|
hook window InsertChar \n -group pug-indent _pug_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group pug-highlight global WinSetOption filetype=(?!pug).* %{ rmhl pug }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!pug).* %{
|
hook global WinSetOption filetype=(?!pug).* %{
|
||||||
rmhl pug
|
|
||||||
rmhooks window pug-indent
|
rmhooks window pug-indent
|
||||||
rmhooks window pug-hooks
|
rmhooks window pug-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,8 +70,9 @@ hook global WinSetOption filetype=ragel %{
|
||||||
hook window InsertChar \n -group ragel-indent _ragel_indent_on_new_line
|
hook window InsertChar \n -group ragel-indent _ragel_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group ragel-highlight global WinSetOption filetype=(?!ragel).* %{ rmhl ragel }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!ragel).* %{
|
hook global WinSetOption filetype=(?!ragel).* %{
|
||||||
rmhl ragel
|
|
||||||
rmhooks window ragel-indent
|
rmhooks window ragel-indent
|
||||||
rmhooks window ragel-hooks
|
rmhooks window ragel-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,8 +61,9 @@ hook global WinSetOption filetype=sass %{
|
||||||
hook window InsertChar \n -group sass-indent _sass_indent_on_new_line
|
hook window InsertChar \n -group sass-indent _sass_indent_on_new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hool -group sass-highlight global WinSetOption filetype=(?!sass).* %{ rmhl sass }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!sass).* %{
|
hook global WinSetOption filetype=(?!sass).* %{
|
||||||
rmhl sass
|
|
||||||
rmhooks window sass-indent
|
rmhooks window sass-indent
|
||||||
rmhooks window sass-hooks
|
rmhooks window sass-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,8 +41,9 @@ hook global WinSetOption filetype=scss %[
|
||||||
hook window InsertChar \} -group scss-indent _scss_indent_on_closing_curly_brace
|
hook window InsertChar \} -group scss-indent _scss_indent_on_closing_curly_brace
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hool -group scss-highlight global WinSetOption filetype=(?!scss).* %{ rmhl scss }
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!scss).* %{
|
hook global WinSetOption filetype=(?!scss).* %{
|
||||||
rmhl scss
|
|
||||||
rmhooks window scss-indent
|
rmhooks window scss-indent
|
||||||
rmhooks window scss-hooks
|
rmhooks window scss-hooks
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,4 +30,4 @@ addhl -group /tupfile/code regex "\b(\&?[\w_]+)\s*[:+]?=" 1:keyword
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook -group tupfile-highlight global WinSetOption filetype=tupfile %{ addhl ref tupfile }
|
hook -group tupfile-highlight global WinSetOption filetype=tupfile %{ addhl ref tupfile }
|
||||||
hook global WinSetOption filetype=(?!tupfile).* %{ rmhl tupfile }
|
hook -group tupfile-highlight global WinSetOption filetype=(?!tupfile).* %{ rmhl tupfile }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user