kakoune/rc
Johannes Altmanninger afd1fa2217 rc toml: fix wrong highlighting of triple quoted strings that have quotes at the end
In TOML's triple-quoted strings, it's allowed to place quotes just
next to the triple quotes.

	foo = '''bar''''
		    ^    part of the string contents
		     ^^^ closing sequence

We greedily interpret the first three single quotes as closing
sequence. As a result the remaining single quote wrongly opens a new
string. Fix this by only treating triple quotes as closing if they
are not followed by another quote.
I don't think there is another possible interpretation of quadruple
quotes in TOML, so this should not affect other valid inputs.

Fixes #4143
2022-06-26 18:07:22 +02:00
..
detection rc file-detection hook group 2022-04-20 23:11:10 -03:00
filetype rc toml: fix wrong highlighting of triple quoted strings that have quotes at the end 2022-06-26 18:07:22 +02:00
tools Add hare comments and indentation 2022-06-09 04:31:18 -04:00
windowing Support focus Within Sway WM 2022-06-02 10:57:28 +01:00