aboutsummaryrefslogtreecommitdiff
path: root/lexers
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-10 12:45:12 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-10 12:45:12 +0100
commit7f04e8a116268794a795c41d39a4e937bea6bfe4 (patch)
tree19e7e54c7b9664dec75f30eaa27d076d3022c3b7 /lexers
parent5a95e2509c4c5f106c951004897a95bb060776ce (diff)
downloadvis-7f04e8a116268794a795c41d39a4e937bea6bfe4.tar.gz
vis-7f04e8a116268794a795c41d39a4e937bea6bfe4.tar.xz
lexer: fix some more color specifications
Diffstat (limited to 'lexers')
-rw-r--r--lexers/dmd.lua2
-rw-r--r--lexers/markdown.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/lexers/dmd.lua b/lexers/dmd.lua
index f419cfe..2675559 100644
--- a/lexers/dmd.lua
+++ b/lexers/dmd.lua
@@ -159,7 +159,7 @@ M._rules = {
M._tokenstyles = {
annotation = l.STYLE_PREPROCESSOR,
- traits = 'fore:$(color.yellow)',
+ traits = l.STYLE_CLASS,
versions = l.STYLE_CONSTANT,
scopes = l.STYLE_CONSTANT
}
diff --git a/lexers/markdown.lua b/lexers/markdown.lua
index 9ab1568..b865955 100644
--- a/lexers/markdown.lua
+++ b/lexers/markdown.lua
@@ -82,7 +82,7 @@ M._rules = {
}
local font_size = 10
-local hstyle = 'fore:$(color.red)'
+local hstyle = 'fore:red'
M._tokenstyles = {
h6 = hstyle,
h5 = hstyle..',size:'..(font_size + 1),
@@ -91,7 +91,7 @@ M._tokenstyles = {
h2 = hstyle..',size:'..(font_size + 4),
h1 = hstyle..',size:'..(font_size + 5),
code = l.STYLE_EMBEDDED..',eolfilled',
- hr = 'back:$(color.black),eolfilled',
+ hr = 'back:black,eolfilled',
link = 'underlined',
link_url = 'underlined',
link_label = l.STYLE_LABEL,