aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/dockerfile.lua
diff options
context:
space:
mode:
authorSilas <silas_git@nocafe.net>2020-12-08 17:37:43 -0300
committerSilas <silas_git@nocafe.net>2020-12-08 17:37:43 -0300
commite57851806592f5ea4ee48303b97a5f59731370c5 (patch)
treea4a03e32f43057f1093ae6d72426a7a2353e71dd /lua/lexers/dockerfile.lua
parent247b799b7cd272f20b2c6f9b4e60bf8b57775985 (diff)
downloadvis-e57851806592f5ea4ee48303b97a5f59731370c5.tar.gz
vis-e57851806592f5ea4ee48303b97a5f59731370c5.tar.xz
lexers: fix bug in bash lexer for last here-doc
f4f0f5b allowed "<<-EOF" heredocs to be parsed correctly, but it introduced a bug that made the lexer fail when the beginning of a here-doc was the last string in a file (optionally followed only by blanks). In order to fix this, move everything regarding "delimiter" within the block that is executed only if "delimiter" is not nil.
Diffstat (limited to 'lua/lexers/dockerfile.lua')
0 files changed, 0 insertions, 0 deletions