aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorThim Cederlund <thim@cederlund.de>2024-05-03 18:19:30 +0200
committerRandy Palamar <randy@rnpnr.xyz>2024-05-03 20:46:46 -0600
commita9a4f5cabb766e3dadd504df4fd9583192c22315 (patch)
tree4649e68d33b095060d5988b81f3816c815bac106 /lua
parenteacb3d0bb51d87f627ce58e45918f1e8398b0925 (diff)
downloadvis-a9a4f5cabb766e3dadd504df4fd9583192c22315.tar.gz
vis-a9a4f5cabb766e3dadd504df4fd9583192c22315.tar.xz
lua: themes: add `STYLE_CODE`
used by the following lexers: gemini, markdown and txt2tags to highlight sections of code.
Diffstat (limited to 'lua')
-rw-r--r--lua/themes/base-16.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/themes/base-16.lua b/lua/themes/base-16.lua
index 1e9d3be..e1ccaa3 100644
--- a/lua/themes/base-16.lua
+++ b/lua/themes/base-16.lua
@@ -70,6 +70,7 @@ lexers.STYLE_ITALIC = 'italics'
lexers.STYLE_LIST = lexers.STYLE_KEYWORD
lexers.STYLE_LINK = lexers.STYLE_KEYWORD
lexers.STYLE_REFERENCE = lexers.STYLE_KEYWORD
+lexers.STYLE_CODE = lexers.STYLE_EMBEDDED
-- Output
lexers.STYE_FILENAME = ''
@@ -135,7 +136,7 @@ lexers.STYLE_LITERAL_BLOCK = lexers.STYLE_EMBEDDED
lexers.STYLE_FOOTNOTE_BLOCK = lexers.STYLE_LABEL
lexers.STYLE_CITATION_BLOCK = lexers.STYLE_LABEL
lexers.STYLE_LINK_BLOCK = lexers.STYLE_LABEL
-lexers.STYLE_CODE_BLOCK = lexers.STYLE_EMBEDDED
+lexers.STYLE_CODE_BLOCK = lexers.STYLE_CODE
lexers.STYLE_DIRECTIVE = lexers.STYLE_KEYWORD
lexers.STYLE_SPHINX_DIRECTIVE = lexers.STYLE_KEYWORD
lexers.STYLE_UNKNOWN_DIRECTIVE = lexers.STYLE_KEYWORD