Closed thimc closed 1 month ago
Hi! Can you add a style for CODE
to the default theme instead? The lexers are vendored in from scintillua so we would prefer to not modify any of those files if it can be avoided.
Hi! Can you add a style for
CODE
to the default theme instead? The lexers are vendored in from scintillua so we would prefer to not modify any of those files if it can be avoided.
Oh, I see. My reasoning for renaming it to CODE_BLOCK was to follow the naming convention in the theme files, but no worries.
Hi,
Congrats on a new release, here's a PR to fix code highlighting which I noticed while I was migrating from 0.8 to 0.9.
The lexer specs for gemini, markdown and txt2tags use a style named
CODE
to highlight some form of code (a code block in most situations) but the default theme (base-16) only sets theCODE_BLOCK
style so I supposeSTYLE_CODE
is a bit redundant.