summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Isom <John.Isom2001@gmail.com>2020-07-29 21:07:43 -0600
committerJohn Isom <John.Isom2001@gmail.com>2020-07-29 21:07:43 -0600
commite02a3711fa7ed6471b95d4da0fd63981edb86c4e (patch)
tree5f4323e6dbe612dca64d9efc51e3ccd97bef773d
parentd77fe33e9ada1995c9e646ae0eb396bccbbcb6d7 (diff)
Fix my issues in gluon.kak
-rw-r--r--rc/filetype/gluon.kak12
1 files changed, 6 insertions, 6 deletions
diff --git a/rc/filetype/gluon.kak b/rc/filetype/gluon.kak
index d8ed662d..10a2cc2f 100644
--- a/rc/filetype/gluon.kak
+++ b/rc/filetype/gluon.kak
@@ -31,7 +31,7 @@ hook -group gluon-highlight global WinSetOption filetype=gluon %{
}
-provide-module gluon %[
+provide-module gluon %§
# Highlighters
# ‾‾‾‾‾‾‾‾‾‾‾‾
@@ -78,8 +78,8 @@ define-command -hidden gluon-trim-indent %{
try %{ execute-keys -draft -itersel <a-x> s \h+$ <ret> d }
}
-define-command -hidden gluon-indent-on-new-line %{
- evaluate-commands -draft -itersel %{
+define-command -hidden gluon-indent-on-new-line %<
+ evaluate-commands -draft -itersel %<
# copy // and /// comments prefix and following white spaces
try %{ execute-keys -draft k <a-x> s ^\h*\K///?\h* <ret> y gh j P }
# preserve previous line indent
@@ -91,7 +91,7 @@ define-command -hidden gluon-indent-on-new-line %{
try %{ execute-keys -draft \; k x <a-k> (\(|\{|\[|=|->|then|else|rec|in)$ <ret> j <a-gt> }
# deindent closing brace(s) when after cursor
try %{ execute-keys -draft <a-x> <a-k> ^\h*[})\]] <ret> gh / [})\]] <ret> m <a-S> 1<a-&> }
- }
-}
+ >
+>
-]