From a9a4f5cabb766e3dadd504df4fd9583192c22315 Mon Sep 17 00:00:00 2001 From: Thim Cederlund Date: Fri, 3 May 2024 18:19:30 +0200 Subject: [PATCH] lua: themes: add `STYLE_CODE` used by the following lexers: gemini, markdown and txt2tags to highlight sections of code. --- lua/themes/base-16.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/themes/base-16.lua b/lua/themes/base-16.lua index 1e9d3beb9..e1ccaa31d 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