aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/bash.lua
AgeCommit message (Collapse)AuthorFilesLines
2020-11-27Heredocs with "-" can have spaces before closingSilas1-3/+11
If a here-doc start delimiter begins with "-", then spaces are allowed to come before the closing delimiter. This patch fixes what would otherwise be parsed incorrectly: <<-EOF .... EOF
2019-03-11Heredoc delimiter should end with a newlineSilas1-1/+1
Or else the following: <<EOF .... EOFXYZ parsers incorrectly.
2017-02-07Allow {} to be nested in shell variablesS. Gilles1-1/+1
This allows lines like : ${FOO:="${bar}/baz"} to be highlighted correctly.
2017-01-19lexer: sync with scintillua changeset 582 rev d70a5ee43d38Marc André Tanner1-1/+1
2016-12-07Move all lua related files to lua/ subfolderMarc André Tanner1-0/+74
Also remove the lexers sub directory from the Lua search path. As a result we attempt to open fewer files during startup: $ strace -e open -o log ./vis +q config.h && wc -l log In order to avoid having to modifiy all lexers which `require('lexer')` we instead place a symlink in the top level directory. $ ./configure --disable-lua $ rm -rf lua Should result in a source tree with most lua specifc functionality removed.