diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-16 00:17:59 +0000 |
|---|---|---|
| committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-17 13:22:55 +0000 |
| commit | 5226801be26419f9a8277cbc35592cc2f0004d64 (patch) | |
| tree | 33872ac7fdbb6c4b7b8ecc5aa13669702e609fea /runtime/syntax/python.vim | |
| parent | f3cfe9a94bd5413f32360eb3db9e786ba9df3286 (diff) | |
| download | rneovim-5226801be26419f9a8277cbc35592cc2f0004d64.tar.gz rneovim-5226801be26419f9a8277cbc35592cc2f0004d64.tar.bz2 rneovim-5226801be26419f9a8277cbc35592cc2f0004d64.zip | |
fix(api): parse_expression crash with ident and curly
Problem: nvim_parse_expression null pointer dereference when parsing an
identifier followed by { with "highlight" parameter set to false.
Solution: only set opening_hl_idx if pstate->colors is not NULL.
Not added to parser_tests.lua as that uses highlight = true.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions