vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 4dd5077ad8397d082070f777ed6ff454c435f2f7 parent c9beb7f594d188107ca7113658534b5a3e0ddedd Author: David B. Lamkins <dlamkins@galois.com> Date: Tue, 10 Nov 2015 12:16:15 +0100 lexers: fix color specification in diff lexer Closes #102 Diffstat:
| M | lexers/diff.lua | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lexers/diff.lua b/lexers/diff.lua @@ -34,9 +34,9 @@ M._rules = { M._tokenstyles = { header = l.STYLE_COMMENT, - addition = 'fore:'..l.colors.green, - deletion = 'fore:'..l.colors.red, - change = 'fore:'..l.colors.yellow, + addition = 'fore:green', + deletion = 'fore:red', + change = 'fore:yellow', } M._LEXBYLINE = true