rc nim: follow our convention
This commit is contained in:
parent
997059fed1
commit
9fadda0df4
|
@ -108,8 +108,8 @@ add-highlighter shared/nim/code/ regex %{'(\\([rcnlftvabe\\"']|0*[12]?\d?\d|x[0-
|
||||||
# Commands
|
# Commands
|
||||||
# ‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
def -hidden nim-indent-on-new-line %{
|
define-command -hidden nim-indent-on-new-line %{
|
||||||
eval -draft -itersel %{
|
evaluate-commands -draft -itersel %{
|
||||||
# copy '#' comment prefix and following white spaces
|
# copy '#' comment prefix and following white spaces
|
||||||
try %{ exec -draft k <a-x> s ^\h*#\h* <ret> y jgh P }
|
try %{ exec -draft k <a-x> s ^\h*#\h* <ret> y jgh P }
|
||||||
# preserve previous line indent
|
# preserve previous line indent
|
||||||
|
|
Loading…
Reference in New Issue
Block a user