Line comments don't start immediately after non-whitespace characters.
This commit is contained in:
parent
959a4fd4db
commit
2e455c86ce
@ -212,7 +212,7 @@
|
||||
|
||||
<!-- A line comment starting with # -->
|
||||
<context id="shell-like-comment" style-ref="comment" end-at-line-end="true">
|
||||
<start>#</start>
|
||||
<start>(?<!\S)#</start>
|
||||
<include>
|
||||
<context ref="in-comment"/>
|
||||
</include>
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
<definitions>
|
||||
<context id="line-comment" style-ref="comment" end-at-line-end="true">
|
||||
<start>;</start>
|
||||
<start>(?<!\S);</start>
|
||||
</context>
|
||||
<context id="group" style-ref="keyword">
|
||||
<start>^\[</start>
|
||||
|
Loading…
x
Reference in New Issue
Block a user