aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/perl.lua
AgeCommit message (Collapse)AuthorFilesLines
2017-03-24lexers: fix perl pattern for horrible regex linesS. Gilles1-0/+3
Under presently-not-precise circumstances, regex patterns longer than a screenful can cause first_match_pos to be nil. In this sutation, evaluating `first_match_pos - 1' will be an error, so jump to matchless case.
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/+161
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.