| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-02-23 | vis-lua: use shorter type names | Marc André Tanner | 1 | -1/+1 | |
| 2017-02-22 | lua: add file:match_at method to match LPeg pattern around a position | Marc André Tanner | 1 | -0/+31 | |
| 2017-02-22 | lua: expose vis:module_exist method, load lexer and lpeg module during startup | Marc André Tanner | 2 | -21/+25 | |
| 2017-02-07 | Allow {} to be nested in shell variables | S. Gilles | 1 | -1/+1 | |
| This allows lines like : ${FOO:="${bar}/baz"} to be highlighted correctly. | |||||
| 2017-02-02 | lexer: fix scheme token rule ordering | Marc André Tanner | 1 | -1/+1 | |
| This should fix #412 properly. | |||||
| 2017-02-02 | update comment and readme about lua path | Christian Hesse | 1 | -1/+2 | |
| Commit 3570869c removed the lexers sub directory from the Lua search path. Update the comment and readme to reflect this change. | |||||
| 2017-01-31 | vis: add workaround for broken color handling in Terminal.app | Marc André Tanner | 1 | -0/+3 | |
| Terminal.app sets $TERM=xterm-256color and ships a corresponding terminfo description advocating that it is capable of color changes to the 256 color palette when in fact it can not. We introduce a new boolean option "change-256colors" which is true by default but can be used to disable color changes. It is automatically set if Terminal.app is detected using $TERM_PROGRAM. This should fix display artifacts as described in #456. | |||||
| 2017-01-27 | vis-digraph: add utility to handle digraphs | josuah | 1 | -0/+24 | |
| Hook it up via Lua to <C-k> in insert and replace mode. Close #460 #475 | |||||
| 2017-01-19 | lexer: sync with scintillua changeset 582 rev d70a5ee43d38 | Marc André Tanner | 106 | -119/+131 | |
| 2017-01-19 | lexer: update README | Marc André Tanner | 1 | -12/+18 | |
| 2017-01-19 | lexer: update C lexer to C11 and add POSIX errno constants | Marc André Tanner | 1 | -6/+50 | |
| The most apparent change is that NULL is now also highlighted, the themes might need to be tweaked a bit. Based on an initial patch by Christian Hesse. Close #307 | |||||
| 2017-01-18 | lexer: add lexer for Parallax Spin language | David B. Lamkins | 2 | -0/+138 | |
| Close #466 | |||||
| 2017-01-05 | lua: adjust C lexer to recognize POSIX types | S. Gilles | 1 | -3/+6 | |
| 2017-01-05 | theme: pretend that specifying color numbers doesn't work | S. Gilles | 1 | -16/+16 | |
| 2016-12-29 | Add rc lexer | Michael Forney | 1 | -0/+65 | |
| 2016-12-14 | lua: make sure we always load a default theme | Marc André Tanner | 2 | -1/+2 | |
| 2016-12-14 | lua: improve error message when failing to load lpeg/lexer module | Marc André Tanner | 2 | -9/+22 | |
| Differentiate between the case where the module is not found and the case where an error occured while loading it. This should make it easier to debug cases in which there is a Lua version mismatch between vis and lpeg. | |||||
| 2016-12-14 | lua: avoid errors if no theme is set | Marc André Tanner | 1 | -7/+7 | |
| Close #429 | |||||
| 2016-12-14 | lua: add crontab file type and configure it to save in-place | Marc André Tanner | 1 | -0/+4 | |
| This should fix isses with `crontab -e` editing. | |||||
| 2016-12-14 | lua: allow per file type :commands being executed | Marc André Tanner | 1 | -3/+11 | |
| 2016-12-14 | lua: use Lua patterns to match file extensions | Marc André Tanner | 1 | -125/+120 | |
| 2016-12-09 | vis-lua: add comment about possibly outdated Lua API documentation | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-09 | lua: add more mime types for file type detection | Marc André Tanner | 1 | -0/+21 | |
| 2016-12-09 | vis-lua: expose input key event in insert and replace modes | Marc André Tanner | 1 | -0/+2 | |
| 2016-12-08 | vis-lua: move mode constants from vis.MODE_* to vis.modes.* | Marc André Tanner | 2 | -11/+11 | |
| 2016-12-08 | vis-lua: add optional help parameter to mapping functions | Marc André Tanner | 2 | -10/+12 | |
| 2016-12-08 | vis-lua: expose init event and use it to set default theme | Marc André Tanner | 3 | -5/+5 | |
| The init event is emitted immediately after `visrc.lua` has been sourced, but before any other events have occured, in particular the command line arguments have not yet been processed. Close #422 | |||||
| 2016-12-08 | lua: add simple event multiplexing mechanism | Marc André Tanner | 5 | -19/+115 | |
| The editor core calls into the functions registered in the `vis.events` table which then multiplex the events to all registered event handlers. The first handler which returns a non `nil` value terminates event propagation. | |||||
| 2016-12-07 | lua: move non-core code out of vis.lua | Marc André Tanner | 5 | -591/+585 | |
| The following structure is adapted: * visrc.lua entry point for all Lua code * vis.lua only implements the Lua part of the core API * vis-std.lua registers standard event handlers (e.g. syntax highlighting, statusbar handling, theme changes etc). It is sourced from vis.lua. * plugins/* non essential editor functionality, needs to be explicitly enabled by loading it from visrc.lua | |||||
| 2016-12-07 | Move all lua related files to lua/ subfolder | Marc André Tanner | 138 | -0/+14858 | |
| 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. | |||||
