| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-12-31 | vis-lua: implement vis.open(filename) | Marc André Tanner | 1 | -0/+12 | |
| 2015-12-31 | vis-lua: rename a few functions | Marc André Tanner | 1 | -35/+50 | |
| 2015-12-31 | vis-lua: remove unnecessary casts | Marc André Tanner | 1 | -8/+8 | |
| 2015-12-29 | vis: fix default lua package.path and support $XDG_CONFIG_HOME | Marc André Tanner | 1 | -13/+22 | |
| 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-12-26 | vis: change Lua package.path to also include vis base directory | Marc André Tanner | 1 | -8/+12 | |
| 2015-12-26 | vis: refactor Lua integration | Marc André Tanner | 1 | -0/+491 | |
| Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1. | |||||
