rouge
rouge copied to clipboard
The last line of INI cannot be comments
Name of the lexer INI
HELLO=world
; comments
Rendered result:
<span class="py">HELLO</span><span class="p">=</span><span class="s">world</span>
<span class="err">;</span> <span class="err">comments</span>
Expected (may be produced by appending a newline at the end of the code sample above):
<span class="py">HELLO</span><span class="p">=</span><span class="s">world</span>
<span class="c">; comments</span>
Additional context There seems to be no universal standards for INI, but comments in the last line should be a stable enough feature of INI.