diff --git a/rc/filetype/json.kak b/rc/filetype/json.kak index 994ffc5e..24ca7a36 100644 --- a/rc/filetype/json.kak +++ b/rc/filetype/json.kak @@ -61,7 +61,7 @@ define-command -hidden json-indent-on-new-line %< try %{ execute-keys -draft k : json-trim-indent } # indent after lines ending with opener token try %< execute-keys -draft k [[{]\h*$ j > - # deindent opener token(s) when after cursor + # deindent closer token(s) when after cursor try %< execute-keys -draft ^\h*[}\]]+\h*$ hm 1 > > >