vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 3398e8cc01f7bbf53af2344558cd1672880f993a
parent 86236acf792387bb4fff5f4fd188503b3101d71c
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 10 Nov 2015 12:45:12 +0100

lexer: fix some more color specifications

Diffstat:
Mlexers/dmd.lua | 2+-
Mlexers/markdown.lua | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -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,