summaryrefslogtreecommitdiff
path: root/rc/core/python.kak
diff options
context:
space:
mode:
authorMaxim Baz <git@maximbaz.com>2018-07-08 18:21:01 +0200
committerMaxim Baz <git@maximbaz.com>2018-07-08 18:21:01 +0200
commit26bc173631e44b32001798d48b6353b14ed90a6e (patch)
tree3673202e50a88cfad11b250a4a562d635c5f409a /rc/core/python.kak
parent2659912220251d3db9156ac39912f92d9aca878d (diff)
Fix python indent for lines ending with colon
Diffstat (limited to 'rc/core/python.kak')
-rw-r--r--rc/core/python.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/core/python.kak b/rc/core/python.kak
index f844ba4e..58a3b049 100644
--- a/rc/core/python.kak
+++ b/rc/core/python.kak
@@ -128,7 +128,7 @@ define-command -hidden python-indent-on-new-line %{
# cleanup trailing whitespaces from previous line
try %{ execute-keys -draft k <a-x> s \h+$ <ret> d }
# indent after line ending with :
- try %{ execute-keys -draft <space> k x <a-k> :$ <ret> j <a-gt> }
+ try %{ execute-keys -draft <space> k <a-x> <a-k> :$ <ret> j <a-gt> }
}
}