aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/color.tes16
-rw-r--r--lib/colors/solarized.tes2
-rw-r--r--lib/lexer.tes9
3 files changed, 20 insertions, 7 deletions
diff --git a/lib/color.tes b/lib/color.tes
index 347f29b..a45c646 100644
--- a/lib/color.tes
+++ b/lib/color.tes
@@ -80,11 +80,13 @@
:M[color.bracelight],34M[color.set]
:M[color.error],35M[color.set]
- !* Configure fold margin *!
- :M[color.linenumber]U.fU.b
- Q.b,1ESSETFOLDMARGINCOLOUR Q.b,1ESSETFOLDMARGINHICOLOUR
- 25U.x 7<Q.f,Q.xESMARKERSETFORE Q.b,Q.xESMARKERSETBACK %.x>
- 10000++,25ESMARKERDEFINE 10000+-,26ESMARKERDEFINE
- 10000++,30ESMARKERDEFINE 10000+-,31ESMARKERDEFINE
- (2^*25 # 2^*26 # 2^*30 # 2^*31),2ESSETMARGINMASKN 0,2ESSETMARGINTYPEN
+ !* Configure fold margin (except on the command line) *!
+ ED&2048"=
+ :M[color.linenumber]U.fU.b
+ Q.b,1ESSETFOLDMARGINCOLOUR Q.b,1ESSETFOLDMARGINHICOLOUR
+ 25U.x 7<Q.f,Q.xESMARKERSETFORE Q.b,Q.xESMARKERSETBACK %.x>
+ 10000++,25ESMARKERDEFINE 10000+-,26ESMARKERDEFINE
+ 10000++,30ESMARKERDEFINE 10000+-,31ESMARKERDEFINE
+ (2^*25 # 2^*26 # 2^*30 # 2^*31),2ESSETMARGINMASKN 0,2ESSETMARGINTYPEN
+ '
}
diff --git a/lib/colors/solarized.tes b/lib/colors/solarized.tes
index fd0823e..11567d9 100644
--- a/lib/colors/solarized.tes
+++ b/lib/colors/solarized.tes
@@ -131,6 +131,8 @@ Q[solarized.light]"T :M[solarized.light] | :M[solarized.dark] '
[*
EJ<%.bEB M[lexer.auto]>
EQ.b :M[color.init]
+ !* FIXME: What if the user disabled it in .teco_ini? *!
+ :M[lexer.set.cmdline]
]*
}
diff --git a/lib/lexer.tes b/lib/lexer.tes
index 4e3e1b5..af6793a 100644
--- a/lib/lexer.tes
+++ b/lib/lexer.tes
@@ -39,3 +39,12 @@
:@[lexer.auto]{
]_
}
+
+@[lexer.set.cmdline]{
+ 0,2048ED
+ :M[color.init]
+ !* indicator for rubbed out part of the command line *!
+ :M[color.default],8ESINDICSETFORE
+ :M[lexer.set.sciteco]
+ 2048,0ED
+}