diff options
| -rw-r--r-- | lexers/dmd.lua | 2 | ||||
| -rw-r--r-- | lexers/markdown.lua | 4 |
2 files changed, 3 insertions, 3 deletions
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, |
