superbol-studio-oss
superbol-studio-oss copied to clipboard
LSP formatter incorrectly changes indentation of "source format is free" line
Given this input:
>>SOURCE FORMAT IS FREE
identification division.
program-id. test.
environment division.
data division.
procedure division.
display 'hello world'.
stop run.
invoking the LSP formatter will shift the >>SOURCE FORMAT IS FREE line all the way to the left:
>>SOURCE FORMAT IS FREE
identification division.
program-id. test.
environment division.
data division.
procedure division.
display 'hello world'.
stop run.
which generates a 'note' from GnuCOBOL:
src/test.cbl:1: note: free format detected
1 > >>SOURCE FORMAT IS FREE
2 | identification division.
3 | program-id. test.
I don't believe it should be modifying this line.