aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/lexer.tes7
-rw-r--r--lib/session.tes4
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/lexer.tes b/lib/lexer.tes
index 89a2fd5..82d8bd9 100644
--- a/lib/lexer.tes
+++ b/lib/lexer.tes
@@ -13,8 +13,8 @@
Q[lexer.font],32ESSTYLESETSIZEFRACTIONAL
' '
:M[color.init]
+ :Q*"=  '
[_
- :Q*"= Oend '
}
! Automatically mung all the lexers and add them to "lexer.auto" !
@@ -25,12 +25,11 @@
0X.[filename] 4R .U.p <-A-^^/"= 1; ':R;> .,Q.pX.[name]
EMQ.[filename]
:@EU[lexer.auto]{
- :M[lexer.test.Q.[name]]"S :M[lexer.set.Q.[name]] Oend '
+ :M[lexer.test.Q.[name]]"S :M[lexer.set.Q.[name]] ]_ '
}
L>
]*
-! append "end" label to "lexer.auto" !
:@[lexer.auto]{
- !end! ]_
+ ]_
}
diff --git a/lib/session.tes b/lib/session.tes
index e0bad9e..3ca5dd9 100644
--- a/lib/session.tes
+++ b/lib/session.tes
@@ -7,7 +7,7 @@ EU[session.path]Q[$SCITECOCONFIG]/.teco_session
! Save current session to the file specified by "session.path" !
@[session.save]{
- :Q[session.path]-1"< Oend '
+ :Q[session.path]-1"<  '
Q*U.[curbuf]
EJ<
%.bEB ESGETFIRSTVISIBLELINEU.[fvline] ESGETXOFFSETU.[xoff] .U.[dot]
@@ -20,7 +20,7 @@ EU[session.path]Q[$SCITECOCONFIG]/.teco_session
E%.[session]Q[session.path]
Q.[curbuf]EB
-!end!}
+}
! Load session specified by "session.path" !
@[session.load]{