1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 12:36:11 +03:00

Fix hool -> hook in rc files

This commit is contained in:
Maxime Coste 2016-10-01 14:09:59 +01:00
parent 8cc30a8ca0
commit 1b9c8b9cf2
29 changed files with 29 additions and 29 deletions

View File

@ -115,7 +115,7 @@ hook global WinSetOption filetype=dlang %{
set window comment_selection_chars "/+:+/" set window comment_selection_chars "/+:+/"
} }
hool -group dlang-highlight global WinSetOption filetype=(?!dlang).* %{ rmhl dlang } hook -group dlang-highlight global WinSetOption filetype=(?!dlang).* %{ rmhl dlang }
hook global WinSetOption filetype=(?!dlang).* %{ hook global WinSetOption filetype=(?!dlang).* %{
rmhooks window dlang-hooks rmhooks window dlang-hooks

View File

@ -71,7 +71,7 @@ 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 -group fish-highlight global WinSetOption filetype=(?!fish).* %{ rmhl fish }
hook global WinSetOption filetype=(?!fish).* %{ hook global WinSetOption filetype=(?!fish).* %{
rmhooks window fish-indent rmhooks window fish-indent

View File

@ -91,7 +91,7 @@ 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
} }
hool -group gas-highlight global WinSetOption filetype=(?!gas).* %{ rmhl gas } hook -group gas-highlight global WinSetOption filetype=(?!gas).* %{ rmhl gas }
hook global WinSetOption filetype=(?!gas).* %{ hook global WinSetOption filetype=(?!gas).* %{
rmhooks window gas-indent rmhooks window gas-indent

View File

@ -65,7 +65,7 @@ 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 -group haskell-highlight global WinSetOption filetype=(?!haskell).* %{ rmhl haskell }
hook global WinSetOption filetype=(?!haskell).* %{ hook global WinSetOption filetype=(?!haskell).* %{
rmhooks window haskell-indent rmhooks window haskell-indent

View File

@ -73,7 +73,7 @@ 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 -group html-highlight global WinSetOption filetype=(?!html).* %{ rmhl html }
hook global WinSetOption filetype=(?!html).* %{ hook global WinSetOption filetype=(?!html).* %{
rmhooks window html-indent rmhooks window html-indent

View File

@ -74,7 +74,7 @@ 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 -group javascript-highlight global WinSetOption filetype=(?!javascript).* %{ rmhl javascript }
hook global WinSetOption filetype=(?!javascript).* %{ hook global WinSetOption filetype=(?!javascript).* %{
rmhooks window javascript-indent rmhooks window javascript-indent

View File

@ -59,7 +59,7 @@ 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 -group json-highlight global WinSetOption filetype=(?!json).* %{ rmhl json }
hook global WinSetOption filetype=(?!json).* %{ hook global WinSetOption filetype=(?!json).* %{
rmhooks window json-indent rmhooks window json-indent

View File

@ -54,7 +54,7 @@ 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 -group lisp-highlight global WinSetOption filetype=(?!lisp).* %{ rmhl lisp }
hook global WinSetOption filetype=(?!lisp).* %{ hook global WinSetOption filetype=(?!lisp).* %{
rmhooks window lisp-indent rmhooks window lisp-indent

View File

@ -108,7 +108,7 @@ 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 -group lua-highlight global WinSetOption filetype=(?!lua).* %{ rmhl lua }
hook global WinSetOption filetype=(?!lua).* %{ hook global WinSetOption filetype=(?!lua).* %{
rmhooks window lua-indent rmhooks window lua-indent

View File

@ -146,7 +146,7 @@ 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 -group markdown-highlight global WinSetOption filetype=(?!markdown).* %{ rmhl markdown }
hook global WinSetOption filetype=(?!markdown).* %{ hook global WinSetOption filetype=(?!markdown).* %{
rmhooks window markdown-indent rmhooks window markdown-indent

View File

@ -123,7 +123,7 @@ hook global WinSetOption filetype=perl %{
set window comment_line_chars "#" set window comment_line_chars "#"
} }
hool -group perl-highlight global WinSetOption filetype=(?!perl).* %{ rmhl perl } hook -group perl-highlight global WinSetOption filetype=(?!perl).* %{ rmhl perl }
hook global WinSetOption filetype=(?!perl).* %{ hook global WinSetOption filetype=(?!perl).* %{
rmhooks window perl-hooks rmhooks window perl-hooks

View File

@ -168,7 +168,7 @@ 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 -group ruby-highlight global WinSetOption filetype=(?!ruby).* %{ rmhl ruby }
hook global WinSetOption filetype=(?!ruby).* %{ hook global WinSetOption filetype=(?!ruby).* %{
rmhooks window ruby-indent rmhooks window ruby-indent

View File

@ -85,7 +85,7 @@ 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 -group rust-highlight global WinSetOption filetype=(?!rust).* %{ rmhl rust }
hook global WinSetOption filetype=(?!rust).* %{ hook global WinSetOption filetype=(?!rust).* %{
rmhooks window rust-indent rmhooks window rust-indent

View File

@ -74,7 +74,7 @@ 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 -group scala-highlight global WinSetOption filetype=(?!scala).* %{ rmhl scala }
hook global WinSetOption filetype=(?!scala).* %{ hook global WinSetOption filetype=(?!scala).* %{
rmhooks window scala-indent rmhooks window scala-indent

View File

@ -59,7 +59,7 @@ 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 -group yaml-highlight global WinSetOption filetype=(?!yaml).* %{ rmhl yaml }
hook global WinSetOption filetype=(?!yaml).* %{ hook global WinSetOption filetype=(?!yaml).* %{
rmhooks window yaml-indent rmhooks window yaml-indent

View File

@ -33,7 +33,7 @@ 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 -group grep-highlight global WinSetOption filetype=(?!grep).* %{ rmhl grep }
hook global WinSetOption filetype=(?!grep).* %{ hook global WinSetOption filetype=(?!grep).* %{
rmhooks buffer grep-hooks rmhooks buffer grep-hooks

View File

@ -28,7 +28,7 @@ hook global WinSetOption filetype=make %{
hook buffer -group make-hooks NormalKey <ret> make-jump hook buffer -group make-hooks NormalKey <ret> make-jump
} }
hool -group make-highlight global WinSetOption filetype=(?!make).* %{ rmhl make } hook -group make-highlight global WinSetOption filetype=(?!make).* %{ rmhl make }
hook global WinSetOption filetype=(?!make).* %{ hook global WinSetOption filetype=(?!make).* %{
rmhooks buffer make-hooks rmhooks buffer make-hooks

View File

@ -63,7 +63,7 @@ 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 -group makefile-highlight global WinSetOption filetype=(?!makefile).* %{ rmhl makefile }
hook global WinSetOption filetype=(?!makefile).* %{ hook global WinSetOption filetype=(?!makefile).* %{
rmhooks window makefile-indent rmhooks window makefile-indent

View File

@ -20,7 +20,7 @@ hook global WinSetOption filetype=man %{
} }
} }
hool -group man-highlight global WinSetOption filetype=(?!man).* %{ rmhl man-highlight } hook -group man-highlight global WinSetOption filetype=(?!man).* %{ rmhl man-highlight }
hook global WinSetOption filetype=(?!man).* %{ hook global WinSetOption filetype=(?!man).* %{
rmhooks window man-hooks rmhooks window man-hooks

View File

@ -79,7 +79,7 @@ hook global WinSetOption filetype=python %{
set window formatcmd "autopep8 -" set window formatcmd "autopep8 -"
} }
hool -group python-highlight global WinSetOption filetype=(?!python).* %{ rmhl python } hook -group python-highlight global WinSetOption filetype=(?!python).* %{ rmhl python }
hook global WinSetOption filetype=(?!python).* %{ hook global WinSetOption filetype=(?!python).* %{
rmhooks window python-indent rmhooks window python-indent

View File

@ -72,7 +72,7 @@ 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 -group cabal-highlight global WinSetOption filetype=(?!cabal).* %{ rmhl cabal }
hook global WinSetOption filetype=(?!cabal).* %{ hook global WinSetOption filetype=(?!cabal).* %{
rmhooks window cabal-indent rmhooks window cabal-indent

View File

@ -85,7 +85,7 @@ 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 -group coffee-highlight global WinSetOption filetype=(?!coffee).* %{ rmhl coffee }
hook global WinSetOption filetype=(?!coffee).* %{ hook global WinSetOption filetype=(?!coffee).* %{
rmhooks window coffee-indent rmhooks window coffee-indent

View File

@ -88,7 +88,7 @@ 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 -group cucumber-highlight global WinSetOption filetype=(?!cucumber).* %{ rmhl cucumber }
hook global WinSetOption filetype=(?!cucumber).* %{ hook global WinSetOption filetype=(?!cucumber).* %{
rmhooks window cucumber-indent rmhooks window cucumber-indent

View File

@ -65,7 +65,7 @@ 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 -group haml-highlight global WinSetOption filetype=(?!haml).* %{ rmhl haml }
hook global WinSetOption filetype=(?!haml).* %{ hook global WinSetOption filetype=(?!haml).* %{
rmhooks window haml-indent rmhooks window haml-indent

View File

@ -111,7 +111,7 @@ 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 -group moon-highlight global WinSetOption filetype=(?!moon).* %{ rmhl moon }
hook global WinSetOption filetype=(?!moon).* %{ hook global WinSetOption filetype=(?!moon).* %{
rmhooks window moon-indent rmhooks window moon-indent

View File

@ -76,7 +76,7 @@ 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 -group pug-highlight global WinSetOption filetype=(?!pug).* %{ rmhl pug }
hook global WinSetOption filetype=(?!pug).* %{ hook global WinSetOption filetype=(?!pug).* %{
rmhooks window pug-indent rmhooks window pug-indent

View File

@ -70,7 +70,7 @@ 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 -group ragel-highlight global WinSetOption filetype=(?!ragel).* %{ rmhl ragel }
hook global WinSetOption filetype=(?!ragel).* %{ hook global WinSetOption filetype=(?!ragel).* %{
rmhooks window ragel-indent rmhooks window ragel-indent

View File

@ -61,7 +61,7 @@ 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 -group sass-highlight global WinSetOption filetype=(?!sass).* %{ rmhl sass }
hook global WinSetOption filetype=(?!sass).* %{ hook global WinSetOption filetype=(?!sass).* %{
rmhooks window sass-indent rmhooks window sass-indent

View File

@ -41,7 +41,7 @@ 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 -group scss-highlight global WinSetOption filetype=(?!scss).* %{ rmhl scss }
hook global WinSetOption filetype=(?!scss).* %{ hook global WinSetOption filetype=(?!scss).* %{
rmhooks window scss-indent rmhooks window scss-indent