aboutsummaryrefslogtreecommitdiff
path: root/lexers/README.md
AgeCommit message (Collapse)AuthorFilesLines
2016-12-07Move all lua related files to lua/ subfolderMarc André Tanner1-49/+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-07-25Fix filetype table link in lexers/README.mdChloe1-1/+1
`vis.filetypes` can be found on [line 72 of `vis.lua`](https://github.com/martanne/vis/blob/master/vis.lua#L72), but is not present at all in lexer.lua. Fix `lexers/README.md` to avoid further confusion.
2016-03-21vis: also lookup Lua support files relative to the binary locationMarc André Tanner1-0/+1
This simplifies deployment of vis on remote systems without root access. The idea is to extract a statically linked binary together with the lexer syntax files into some directory, adjust $PATH to include it and have everything just work. For now this uses /proc/self/exe and thus only works on Linux based systems.
2015-12-29vis: fix default lua package.path and support $XDG_CONFIG_HOMEMarc André Tanner1-1/+1
The ordered list of paths for startup and lexer files is: - $VIS_PATH/{,lexers} - $XDG_CONFIG_HOME/vis/{,lexers} (defaulting to $HOME/.config/vis/{,lexers}) - /usr/local/share/vis/{,lexers} - /usr/share/vis/{,lexers} - package.path (standard lua search path)
2015-11-08Add lexer specific README fileMarc André Tanner1-0/+48