Fix duplicate extmarks in Common Lisp

Some delimiters could get the same extmark twice.  This would have no
visual impact, but it is still a bug and can mess up testing.
This commit is contained in:
HiPhish 2024-08-12 18:48:19 +02:00
parent 79f7d77162
commit 589ceeab12
3 changed files with 2 additions and 9 deletions

View file

@ -15,7 +15,8 @@ Unreleased
Fixed
=====
- Make a better effort to make parentheses in Vim scrip expressions work (there
- Common Lisp query: duplicate extmarks on some delimiters
- Make a better effort to make parentheses in Vim script expressions work (there
is only so much that can be done though)

View file

@ -1,11 +1,9 @@
(list_lit
"(" @delimiter
_*
")" @delimiter @sentinel) @container
(defun
"(" @delimiter
_*
")" @delimiter @sentinel) @container
(loop_macro

View file

@ -5,12 +5,6 @@ return {
hl_group = "RainbowDelimiterRed",
start_col = 0,
start_row = 0
}, {
end_col = 1,
end_row = 1,
hl_group = "RainbowDelimiterRed",
start_col = 0,
start_row = 0
}, {
end_col = 12,
end_row = 12,