aboutsummaryrefslogtreecommitdiff
path: root/lexers/lexer.lua
AgeCommit message (Collapse)AuthorFilesLines
2016-12-07Move all lua related files to lua/ subfolderMarc André Tanner1-1634/+0
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.
2016-10-07lexers: sync with scintillua changeset 571 rev 23435f1d82daMarc André Tanner1-3/+2
This fixes ":set syntax text" and adds a missing file association for the taskpaper lexer. The protobuf and crystal lexers were slightly reformatted, but should contain no functional changes.
2016-10-05lexers: reduce changes to scintilla core lexing codeMarc André Tanner1-39/+82
Based upon scintillua rev 568 id 55b15760cd31.
2016-05-22lexer: return nil if lexer loading failsMarc André Tanner1-2/+1
2016-05-22vis: move syntax highlighting to pure Lua codeMarc André Tanner1-4/+0
2016-05-04vis-lua: reload all lexers after theme changeMarc André Tanner1-3/+3
Close #221
2016-01-02lexer: sync with upstream scintillua rev bdb74a2f31dfMarc André Tanner1-1/+1
2015-12-26vis: move file type detection to visrc.luaMarc André Tanner1-119/+0
2015-12-03lexer: add lexer for FaustDavid B. Lamkins1-0/+1
Faust is a DSP (digital signal processing) programming language. See http://faust.grame.fr/ Closes #125
2015-11-11lexer: add lexer for pureDavid B. Lamkins1-0/+1
Ref: http://purelang.bitbucket.org/ Closes #106
2015-11-08lexer: add ledger lexerCharles Lehner1-0/+1
2015-11-08lexer: new lexer for man/roff formatDavid B. Lamkins1-0/+1
2015-11-08lexer: new APL lexerDavid B. Lamkins1-0/+1
2015-11-08vis: try to support all lua versions >= 5.1Marc André Tanner1-1/+1
Make lpeg module table explicitly global, which should work with the different module loading semantics.
2015-11-08vis: experimental support for lua/lpeg based syntax highlightingMarc André Tanner1-2/+126
The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path
2015-11-08Import LPeg based lexers from Scintillua 3.6.1-1Marc André Tanner1-0/+1587
These are Copyright (c) 2007-2015 Mitchell and released under the MIT license.