summaryrefslogtreecommitdiff
path: root/rc/core/python.kak
diff options
context:
space:
mode:
authorgreduan <me@greduan.com>2016-09-28 08:45:01 +0200
committergreduan <me@greduan.com>2016-09-28 08:45:01 +0200
commita68f5f20a1385e46ec0a1f370fabaa3108f01f5c (patch)
treea6dbb9dd4f232c6702445fefeff19c60af988d04 /rc/core/python.kak
parente194ca7da771192b26ecd3433413db08386b5566 (diff)
Add highlight group to highlighters rmhl hooks
Diffstat (limited to 'rc/core/python.kak')
-rw-r--r--rc/core/python.kak3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc/core/python.kak b/rc/core/python.kak
index 29a92fec..51e447ae 100644
--- a/rc/core/python.kak
+++ b/rc/core/python.kak
@@ -79,7 +79,8 @@ hook global WinSetOption filetype=python %{
set window formatcmd "autopep8 -"
}
+hool -group python-highlight global WinSetOption filetype=(?!python).* %{ rmhl python }
+
hook global WinSetOption filetype=(?!python).* %{
- rmhl python
rmhooks window python-indent
}