Hi, Consider this perl code: $str = << ' EOS'; this is my string and it's continuation EOS $str2 = 'this is the second string'; the syntax highlighting is completely messy for all the code after it To get it right again i have to get <<EOS>> at the beggining of the line and suppress the space in the docstring declaration as follow $str = << 'EOS'; this is my string and it's continuation EOS Thank's for your efforts
Git commit 2f8a2406fc925583d7a1c548f99675e1815733c7 by Dominik Haumann. Committed on 23/07/2017 at 13:09. Pushed by dhaumann into branch 'master'. Perl: Fix heredoc highlighting with leading spaces in the delimiter FIXED-IN: 5.37 M +4 -0 autotests/folding/highlight.pl.fold M +11 -0 autotests/html/highlight.pl.html M +11 -0 autotests/input/highlight.pl M +4 -0 autotests/reference/highlight.pl.ref M +4 -4 data/syntax/perl.xml https://commits.kde.org/syntax-highlighting/2f8a2406fc925583d7a1c548f99675e1815733c7