diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-07 22:45:57 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-07 22:55:16 +0200 |
| commit | 7062a05be3bd595a2f8ef5b395360b5765744633 (patch) | |
| tree | 53236ed62f559970d36c8e4a7ee1c42bf2fcf3e8 | |
| parent | ed6dfb43ebd00ea1a04390ea9f818f9ec9ac0d50 (diff) | |
| download | vis-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
| -rw-r--r-- | lexers/markdown.lua | 2 | ||||
| -rw-r--r-- | lexers/toml.lua | 2 | ||||
| -rw-r--r-- | lexers/yaml.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lexers/markdown.lua b/lexers/markdown.lua index 14380e9..0257010 100644 --- a/lexers/markdown.lua +++ b/lexers/markdown.lua @@ -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:black,eolfilled', + hr = l.STYLE_DEFAULT..',bold', link = 'underlined', link_url = 'underlined', link_label = l.STYLE_LABEL, diff --git a/lexers/toml.lua b/lexers/toml.lua index f56f848..5a27c97 100644 --- a/lexers/toml.lua +++ b/lexers/toml.lua @@ -59,7 +59,7 @@ M._rules = { } M._tokenstyles = { - indent_error = 'back:%(color.red)', + indent_error = 'back:red', timestamp = l.STYLE_NUMBER, } 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, |
