aboutsummaryrefslogtreecommitdiff
path: root/lexers/yaml.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-07 22:45:57 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-07 22:55:16 +0200
commit7062a05be3bd595a2f8ef5b395360b5765744633 (patch)
tree53236ed62f559970d36c8e4a7ee1c42bf2fcf3e8 /lexers/yaml.lua
parented6dfb43ebd00ea1a04390ea9f818f9ec9ac0d50 (diff)
downloadvis-7062a05be3bd595a2f8ef5b395360b5765744633.tar.gz
vis-7062a05be3bd595a2f8ef5b395360b5765744633.tar.xz
lexer: remove hard coded color specification from lexers
The variable syntax used by scintillua %(color.red) intended to make colors configurable is currently not supported. Close #229
Diffstat (limited to 'lexers/yaml.lua')
-rw-r--r--lexers/yaml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/yaml.lua b/lexers/yaml.lua
index b88d5a0..2263f3f 100644
--- a/lexers/yaml.lua
+++ b/lexers/yaml.lua
@@ -102,7 +102,7 @@ M._rules = {
}
M._tokenstyles = {
- indent_error = 'back:%(color.red)',
+ indent_error = 'back:red',
document = l.STYLE_CONSTANT,
literal = l.STYLE_DEFAULT,
timestamp = l.STYLE_NUMBER,