From 5ca0b9baa3e24404173f8a46733ba33a48d3ec21 Mon Sep 17 00:00:00 2001 From: tawsi-melek <34323926+tawsi-melek@users.github.com> Date: Tue, 6 Aug 2019 00:00:38 +0200 Subject: [PATCH] Enum too --- rc/filetype/nim.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/nim.kak b/rc/filetype/nim.kak index 03ff61b5d..a5dd3e3ea 100644 --- a/rc/filetype/nim.kak +++ b/rc/filetype/nim.kak @@ -110,8 +110,8 @@ def -hidden nim-indent-on-new-line %{ try %{ exec -draft \; K } # cleanup trailing whitespaces from previous line try %{ exec -draft k s \h+$ d } - # indent after line ending with tuple, object, type, import, export, const, let, var, ':' or '=' - try %{ exec -draft k x (:|=|tuple|object|const|let|var|import|export|type)$ j } + # indent after line ending with enum, tuple, object, type, import, export, const, let, var, ':' or '=' + try %{ exec -draft k x (:|=|enum|tuple|object|const|let|var|import|export|type)$ j } } }