In YAML, a '#' character should mark the beginning of a comment, from the position it has on the line to the end of the line. It seems that Scintilla doesn't recognizes it in some situations, for example:
--- # Unrecognized comment
# Recognized comment
item1: # Recognized comment
item2: val1 # Unrecognized comment
item3: [ val2, val3 ] # Unrecognized comment
... # Unrecognized comment
1660 YAML inline comments
Attached is a fix for YAML inline comments. A YAML test file is included. The test
file is actually a clang-format input file which uses the YAML format.
There is also a text file which gives some details about the change.
Committed as [cfd068].
Related
Commit: [cfd068]