Merge remote-tracking branch 'Delapouite/remove-hooks'
This commit is contained in:
commit
fd107b8b5e
|
@ -170,6 +170,5 @@ hook global WinSetOption filetype=clojure %[
|
|||
hook -group clojure-highlight global WinSetOption filetype=(?!clojure).* %{ remove-highlighter window/clojure }
|
||||
|
||||
hook global WinSetOption filetype=(?!clojure).* %{
|
||||
remove-hooks window clojure-indent
|
||||
remove-hooks window clojure-hooks
|
||||
remove-hooks window clojure-.+
|
||||
}
|
||||
|
|
|
@ -73,6 +73,5 @@ hook global WinSetOption filetype=css %[
|
|||
hook -group css-highlight global WinSetOption filetype=(?!css).* %{ remove-highlighter window/css }
|
||||
|
||||
hook global WinSetOption filetype=(?!css).* %{
|
||||
remove-hooks window css-indent
|
||||
remove-hooks window css-hooks
|
||||
remove-hooks window css-.+
|
||||
}
|
||||
|
|
|
@ -129,6 +129,5 @@ hook global WinSetOption filetype=d %{
|
|||
hook -group d-highlight global WinSetOption filetype=(?!d).* %{ remove-highlighter window/d }
|
||||
|
||||
hook global WinSetOption filetype=(?!d).* %{
|
||||
remove-hooks window d-hooks
|
||||
remove-hooks window d-indent
|
||||
remove-hooks window d-.+
|
||||
}
|
||||
|
|
|
@ -81,6 +81,5 @@ hook global WinSetOption filetype=fish %{
|
|||
hook -group fish-highlight global WinSetOption filetype=(?!fish).* %{ remove-highlighter window/fish }
|
||||
|
||||
hook global WinSetOption filetype=(?!fish).* %{
|
||||
remove-hooks window fish-indent
|
||||
remove-hooks window fish-insert
|
||||
remove-hooks window fish-.+
|
||||
}
|
||||
|
|
|
@ -94,6 +94,5 @@ hook global WinSetOption filetype=go %{
|
|||
hook -group go-highlight global WinSetOption filetype=(?!go).* %{ remove-highlighter window/go }
|
||||
|
||||
hook global WinSetOption filetype=(?!go).* %{
|
||||
remove-hooks window go-hooks
|
||||
remove-hooks window go-indent
|
||||
remove-hooks window go-.+
|
||||
}
|
||||
|
|
|
@ -102,6 +102,5 @@ hook global WinSetOption filetype=haskell %{
|
|||
hook -group haskell-highlight global WinSetOption filetype=(?!haskell).* %{ remove-highlighter window/haskell }
|
||||
|
||||
hook global WinSetOption filetype=(?!haskell).* %{
|
||||
remove-hooks window haskell-indent
|
||||
remove-hooks window haskell-hooks
|
||||
remove-hooks window haskell-.+
|
||||
}
|
||||
|
|
|
@ -69,6 +69,5 @@ hook global WinSetOption filetype=(?:html|xml) %{
|
|||
hook -group html-highlight global WinSetOption filetype=(?!html)(?!xml).* %{ remove-highlighter window/html }
|
||||
|
||||
hook global WinSetOption filetype=(?!html)(?!xml).* %{
|
||||
remove-hooks window html-indent
|
||||
remove-hooks window html-hooks
|
||||
remove-hooks window html-.+
|
||||
}
|
||||
|
|
|
@ -57,8 +57,7 @@ hook global WinSetOption filetype=java %{
|
|||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!java).* %{
|
||||
remove-hooks window java-hooks
|
||||
remove-hooks window java-indent
|
||||
remove-hooks window java-.+
|
||||
}
|
||||
hook -group java-highlight global WinSetOption filetype=java %{ add-highlighter window/java ref java }
|
||||
hook -group java-highlight global WinSetOption filetype=(?!java).* %{ remove-highlighter window/java }
|
||||
|
|
|
@ -57,6 +57,5 @@ hook global WinSetOption filetype=json %{
|
|||
hook -group json-highlight global WinSetOption filetype=(?!json).* %{ remove-highlighter window/json }
|
||||
|
||||
hook global WinSetOption filetype=(?!json).* %{
|
||||
remove-hooks window json-indent
|
||||
remove-hooks window json-hooks
|
||||
remove-hooks window json-.+
|
||||
}
|
||||
|
|
|
@ -53,6 +53,5 @@ hook global WinSetOption filetype=lisp %{
|
|||
hook -group lisp-highlight global WinSetOption filetype=(?!lisp).* %{ remove-highlighter window/lisp }
|
||||
|
||||
hook global WinSetOption filetype=(?!lisp).* %{
|
||||
remove-hooks window lisp-indent
|
||||
remove-hooks window lisp-hooks
|
||||
remove-hooks window lisp-.+
|
||||
}
|
||||
|
|
|
@ -97,8 +97,7 @@ hook global WinSetOption filetype=lua %{
|
|||
hook -group lua-highlight global WinSetOption filetype=(?!lua).* %{ remove-highlighter window/lua }
|
||||
|
||||
hook global WinSetOption filetype=(?!lua).* %{
|
||||
remove-hooks window lua-indent
|
||||
remove-hooks window lua-insert
|
||||
remove-hooks window lua-.+
|
||||
|
||||
unalias window alt lua-alternative-file
|
||||
}
|
||||
|
|
|
@ -111,6 +111,5 @@ hook global WinSetOption filetype=perl %{
|
|||
hook -group perl-highlight global WinSetOption filetype=(?!perl).* %{ remove-highlighter window/perl }
|
||||
|
||||
hook global WinSetOption filetype=(?!perl).* %{
|
||||
remove-hooks window perl-hooks
|
||||
remove-hooks window perl-indent
|
||||
remove-hooks window perl-.+
|
||||
}
|
||||
|
|
|
@ -157,8 +157,7 @@ hook global WinSetOption filetype=ruby %{
|
|||
hook -group ruby-highlight global WinSetOption filetype=(?!ruby).* %{ remove-highlighter window/ruby }
|
||||
|
||||
hook global WinSetOption filetype=(?!ruby).* %{
|
||||
remove-hooks window ruby-indent
|
||||
remove-hooks window ruby-insert
|
||||
remove-hooks window ruby-.+
|
||||
|
||||
unalias window alt ruby-alternative-file
|
||||
}
|
||||
|
|
|
@ -86,6 +86,5 @@ hook global WinSetOption filetype=rust %[
|
|||
hook -group rust-highlight global WinSetOption filetype=(?!rust).* %{ remove-highlighter window/rust }
|
||||
|
||||
hook global WinSetOption filetype=(?!rust).* %{
|
||||
remove-hooks window rust-indent
|
||||
remove-hooks window rust-hooks
|
||||
remove-hooks window rust-.+
|
||||
}
|
||||
|
|
|
@ -72,6 +72,5 @@ hook global WinSetOption filetype=scala %[
|
|||
hook -group scala-highlight global WinSetOption filetype=(?!scala).* %{ remove-highlighter window/scala }
|
||||
|
||||
hook global WinSetOption filetype=(?!scala).* %{
|
||||
remove-hooks window scala-indent
|
||||
remove-hooks window scala-hooks
|
||||
remove-hooks window scala-.+
|
||||
}
|
||||
|
|
|
@ -56,6 +56,5 @@ hook global WinSetOption filetype=yaml %{
|
|||
hook -group yaml-highlight global WinSetOption filetype=(?!yaml).* %{ remove-highlighter window/yaml }
|
||||
|
||||
hook global WinSetOption filetype=(?!yaml).* %{
|
||||
remove-hooks window yaml-indent
|
||||
remove-hooks window yaml-hooks
|
||||
remove-hooks window yaml-.+
|
||||
}
|
||||
|
|
|
@ -276,9 +276,7 @@ evaluate-commands %sh{
|
|||
|
||||
hook global WinSetOption filetype=(c|cpp|objc) %[
|
||||
try %{ # we might be switching from one c-family language to another
|
||||
remove-hooks window c-family-hooks
|
||||
remove-hooks window c-family-indent
|
||||
remove-hooks window c-family-insert
|
||||
remove-hooks window c-family-.+
|
||||
}
|
||||
|
||||
hook -group c-family-indent window ModeChange insert:.* c-family-trim-autoindent
|
||||
|
@ -292,9 +290,7 @@ hook global WinSetOption filetype=(c|cpp|objc) %[
|
|||
]
|
||||
|
||||
hook global WinSetOption filetype=(?!c)(?!cpp)(?!objc).* %[
|
||||
remove-hooks window c-family-hooks
|
||||
remove-hooks window c-family-indent
|
||||
remove-hooks window c-family-insert
|
||||
remove-hooks window c-family-.+
|
||||
|
||||
unalias window alt c-family-alternative-file
|
||||
]
|
||||
|
|
|
@ -70,6 +70,5 @@ hook global WinSetOption filetype=cabal %[
|
|||
hook -group cabal-highlight global WinSetOption filetype=(?!cabal).* %{ remove-highlighter window/cabal }
|
||||
|
||||
hook global WinSetOption filetype=(?!cabal).* %{
|
||||
remove-hooks window cabal-indent
|
||||
remove-hooks window cabal-hooks
|
||||
remove-hooks window cabal-.+
|
||||
}
|
||||
|
|
|
@ -76,6 +76,5 @@ hook global WinSetOption filetype=coffee %{
|
|||
hook -group coffee-highlight global WinSetOption filetype=(?!coffee).* %{ remove-highlighter window/coffee }
|
||||
|
||||
hook global WinSetOption filetype=(?!coffee).* %{
|
||||
remove-hooks window coffee-indent
|
||||
remove-hooks window coffee-hooks
|
||||
remove-hooks window coffee-.+
|
||||
}
|
||||
|
|
|
@ -86,6 +86,5 @@ hook global WinSetOption filetype=cucumber %{
|
|||
hook -group cucumber-highlight global WinSetOption filetype=(?!cucumber).* %{ remove-highlighter window/cucumber }
|
||||
|
||||
hook global WinSetOption filetype=(?!cucumber).* %{
|
||||
remove-hooks window cucumber-indent
|
||||
remove-hooks window cucumber-hooks
|
||||
remove-hooks window cucumber-.+
|
||||
}
|
||||
|
|
|
@ -103,6 +103,5 @@ hook global WinSetOption filetype=dart %{
|
|||
hook -group dart-highlight global WinSetOption filetype=(?!dart).* %{ remove-highlighter window/dart }
|
||||
|
||||
hook global WinSetOption filetype=(?!dart).* %{
|
||||
remove-hooks window dart-hooks
|
||||
remove-hooks window dart-indent
|
||||
remove-hooks window dart-.+
|
||||
}
|
||||
|
|
|
@ -64,6 +64,5 @@ hook global WinSetOption filetype=elm %{
|
|||
hook -group elm-highlight global WinSetOption filetype=(?!elm).* %{ remove-highlighter window/elm }
|
||||
|
||||
hook global WinSetOption filetype=(?!elm).* %{
|
||||
remove-hooks window elm-indent
|
||||
remove-hooks window elm-hooks
|
||||
remove-hooks window elm-.+
|
||||
}
|
||||
|
|
|
@ -59,6 +59,5 @@ hook global WinSetOption filetype=haml %{
|
|||
hook -group haml-highlight global WinSetOption filetype=(?!haml).* %{ remove-highlighter window/haml }
|
||||
|
||||
hook global WinSetOption filetype=(?!haml).* %{
|
||||
remove-hooks window haml-indent
|
||||
remove-hooks window haml-hooks
|
||||
remove-hooks window haml-.+
|
||||
}
|
||||
|
|
|
@ -68,6 +68,5 @@ hook -group hbs-highlight global WinSetOption filetype=(?!hbs).* %{
|
|||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!hbs).* %{
|
||||
remove-hooks window hbs-indent
|
||||
remove-hooks window hbs-hooks
|
||||
remove-hooks window hbs-.+
|
||||
}
|
||||
|
|
|
@ -78,6 +78,5 @@ hook global WinSetOption filetype=i3 %[
|
|||
hook -group i3-highlight global WinSetOption filetype=(?!i3).* %{ remove-highlighter window/i3 }
|
||||
|
||||
hook global WinSetOption filetype=(?!i3).* %{
|
||||
remove-hooks window i3-hooks
|
||||
remove-hooks window i3-indent
|
||||
remove-hooks window i3-.+
|
||||
}
|
||||
|
|
|
@ -101,8 +101,7 @@ hook global WinSetOption filetype=moon %{
|
|||
hook -group moon-highlight global WinSetOption filetype=(?!moon).* %{ remove-highlighter window/moon }
|
||||
|
||||
hook global WinSetOption filetype=(?!moon).* %{
|
||||
remove-hooks window moon-indent
|
||||
remove-hooks window moon-hooks
|
||||
remove-hooks window moon-.+
|
||||
|
||||
unalias window alt moon-alternative-file
|
||||
}
|
||||
|
|
|
@ -87,6 +87,5 @@ hook global WinSetOption filetype=php %{
|
|||
hook -group php-highlight global WinSetOption filetype=(?!php).* %{ remove-highlighter window/php-file }
|
||||
|
||||
hook global WinSetOption filetype=(?!php).* %{
|
||||
remove-hooks window php-indent
|
||||
remove-hooks window php-hooks
|
||||
remove-hooks window php-.+
|
||||
}
|
||||
|
|
|
@ -82,6 +82,5 @@ hook global WinSetOption filetype=protobuf %[
|
|||
hook -group protobuf-highlight global WinSetOption filetype=(?!protobuf).* %{ remove-highlighter window/protobuf }
|
||||
|
||||
hook global WinSetOption filetype=(?!protobuf).* %{
|
||||
remove-hooks window protobuf-hooks
|
||||
remove-hooks window protobuf-indent
|
||||
remove-hooks window protobuf-.+
|
||||
}
|
||||
|
|
|
@ -71,6 +71,5 @@ hook global WinSetOption filetype=pug %{
|
|||
hook -group pug-highlight global WinSetOption filetype=(?!pug).* %{ remove-highlighter window/pug }
|
||||
|
||||
hook global WinSetOption filetype=(?!pug).* %{
|
||||
remove-hooks window pug-indent
|
||||
remove-hooks window pug-hooks
|
||||
remove-hooks window pug-.+
|
||||
}
|
||||
|
|
|
@ -67,6 +67,5 @@ hook global WinSetOption filetype=ragel %{
|
|||
hook -group ragel-highlight global WinSetOption filetype=(?!ragel).* %{ remove-highlighter window/ragel }
|
||||
|
||||
hook global WinSetOption filetype=(?!ragel).* %{
|
||||
remove-hooks window ragel-indent
|
||||
remove-hooks window ragel-hooks
|
||||
remove-hooks window ragel-.+
|
||||
}
|
||||
|
|
|
@ -59,6 +59,5 @@ hook global WinSetOption filetype=sass %{
|
|||
hook -group sass-highlight global WinSetOption filetype=(?!sass).* %{ remove-highlighter window/sass }
|
||||
|
||||
hook global WinSetOption filetype=(?!sass).* %{
|
||||
remove-hooks window sass-indent
|
||||
remove-hooks window sass-hooks
|
||||
remove-hooks window sass-.+
|
||||
}
|
||||
|
|
|
@ -127,6 +127,5 @@ hook global WinSetOption filetype=scheme %{
|
|||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!scheme).* %{
|
||||
remove-hooks window scheme-indent
|
||||
remove-hooks window scheme-hooks
|
||||
remove-hooks window scheme-.+
|
||||
}
|
||||
|
|
|
@ -42,6 +42,5 @@ hook global WinSetOption filetype=scss %[
|
|||
hook -group scss-highlight global WinSetOption filetype=(?!scss).* %{ remove-highlighter window/scss }
|
||||
|
||||
hook global WinSetOption filetype=(?!scss).* %{
|
||||
remove-hooks window scss-indent
|
||||
remove-hooks window scss-hooks
|
||||
remove-hooks window scss-.+
|
||||
}
|
||||
|
|
|
@ -64,7 +64,6 @@ hook -group toml-highlight global WinSetOption filetype=(?!toml).* %{
|
|||
}
|
||||
|
||||
hook global WinSetOption filetype=(?!toml).* %{
|
||||
remove-hooks window toml-indent
|
||||
remove-hooks window toml-hooks
|
||||
remove-hooks window toml-.+
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user