From 7f04e8a116268794a795c41d39a4e937bea6bfe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 10 Nov 2015 12:45:12 +0100 Subject: lexer: fix some more color specifications --- lexers/dmd.lua | 2 +- lexers/markdown.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lexers') 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, -- cgit v1.2.3