Skip to content

Commit

Permalink
lua: themes: add STYLE_CODE
Browse files Browse the repository at this point in the history
used by the following lexers: gemini, markdown and txt2tags to
highlight sections of code.
  • Loading branch information
thimc authored and rnpnr committed May 4, 2024
1 parent eacb3d0 commit a9a4f5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/themes/base-16.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a9a4f5c

Please sign in to comment.