summaryrefslogtreecommitdiff
path: root/rc/filetype/haskell.kak
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-10-16 20:19:43 +1100
committerMaxime Coste <mawww@kakoune.org>2019-10-16 20:45:53 +1100
commite4fb70ebec80edcd17f0e00823780e4798a3fb1a (patch)
tree8e45c2e340a63ca05aa73f8a44bf3c9d59494c0b /rc/filetype/haskell.kak
parent3a36a2486e12be9150e28fa81ac707d65c425d45 (diff)
Replace ModeChange hooks by ModePush and ModePop
Remove deprecated InsertBegin, InsertEnd, NormalBegin, NormalEnd hooks. Closes #2545
Diffstat (limited to 'rc/filetype/haskell.kak')
-rw-r--r--rc/filetype/haskell.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/haskell.kak b/rc/filetype/haskell.kak
index dd744f87..703084cb 100644
--- a/rc/filetype/haskell.kak
+++ b/rc/filetype/haskell.kak
@@ -15,7 +15,7 @@ hook global WinSetOption filetype=haskell %{
require-module haskell
set-option buffer extra_word_chars '_' "'"
- hook window ModeChange insert:.* -group haskell-trim-indent haskell-trim-indent
+ hook window ModeChange pop:insert:.* -group haskell-trim-indent haskell-trim-indent
hook window InsertChar \n -group haskell-indent haskell-indent-on-new-line
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window haskell-.+ }