-
New lexers:
-
Updated lexers:
- Bash: Fix coloured keyword at the beginning of a name (#2926)
- Boogie: Add missing Boogie and Civl Verifier keywords (#3156)
- C#:
- C/C++:
- Clojure: Recognize named, octal and unicode character literals such as
\spaceand\o377as a single token (#979) - Csound: Add missing opcode parameter type letter (#3161)
- CUDA: Derive from the C++ lexer instead of C to highlight C++
constructs such astemplate,classandnamespace(#3127) - D: Allow non-ASCII (Unicode) identifiers (#1088)
- Fish: Fix single quote backslash escape (#3138, #2821)
- Go: Various lexer improvements (#3199)
- GoogleSQL: Require a word break after
SET(#3167) - Hexdump: Only match valid digits (#3200, #2847)
- JavaScript: Highlight the
argumentsobject (#3146) - Jsonnet: Recognize colons in array slice expressions (#2828)
- JSX: Allow apostrophes in element text (#2816)
- Julia: Fix rstrings backslash (#3140, #2537)
- Kotlin: Support companion objects without an explicit name (#2525)
- Kotlin: Don't let a nullable type marker (
?) consume the following
character, soFoo?,anda?:btokenize correctly (#2964) - Kusto: Recognize member-access dots in dynamic objects (#2779)
- Lua: Various improvements (#3143)
- Macaulay2: Update symbols to 1.26.05 (#3120)
- Markdown:
- Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for
embedded code blocks (#3133) - Mathematica: Recognize
\[Name]named-character escapes such as
\[Nu]instead of emitting anErrortoken (#3097) - MATLAB, Octave, Scilab: Allow
...line continuations in function
definition signatures (#659) - MySQL: Require a word break after
SET(#3110) - PostgreSQL: Add more keywords (#3066)
- Python:
- reStructuredText: Allow
.and+in directive/role names (#3085) - Ruby: Don't duplicate the body of an unterminated heredoc (#2998)
- Ruby: Treat
<<after),]or}as the shift operator
rather than the start of a heredoc (#760) - SCSS: Recognize variable references in property values (#2818)
- Shell: Recognize chevron prompts (#3096)
- Smithy: Fix text blocks and add missing syntax (#3168)
- Swift: Keep
funca keyword inclass functype methods (#1125) - Tcl: Stop
$namevariable references at a dash (#1720) - TeX: Recognize LaTeX math environments as math (#3034)
- Twig: Allow uppercase letters at the start of identifiers (#3159, #2965)
- TypeScript: Only treat
moduleas a keyword when followed by
whitespace, so identifiers likemodulesandmodule.exports
are highlighted correctly (#2823) - Vala: Recognize verbatim strings before ordinary quoted strings (#2861)
- Vala: Recognize conditional compilation directives (#2858)
- Vim:
- YAML: Add
ymlalias (#3169), recognize non-breaking spaces as valid
scalar content (#2827) - WebAssembly: Recognize sign-extension operators (#2991, #3160)
- XML: Mark SVG files as XML (#3093)
-
New styles:
- Night Owl (#3132)
-
Fix catastrophic backtracking in
looks_like_xml(#2931, #3112) -
Improve monokai theme colors (#3100)
-
Improve handling of non-string types in
html_escapeto fix broken clients (#3090, #3086) -
LaTeX formatter: honor the wrapped lexer's
stripnland other input
options whenescapeinsideis set, so blank lines are no longer stripped
understripnl=false(#2975) -
RawTokenFormatter: fix a crash when
error_coloris set (#3215) -
Groff formatter: don't duplicate a character when word-wrapping (
wrap)
a token that is not at the end of a line (#3201) -
Add support for Python 3.15 (#3099)
-
Fix invalid
-Lvalues report success (#3217) -
Allow
transparentas a color style definition (#3180, #3170) -
HtmlFormatter:
"and'now render literally (#3185)