diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-07 19:50:43 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-07 23:44:25 +0100 |
| commit | 065a804d282ac99dd93e9ebaf7bc986ccf53e75b (patch) | |
| tree | ffba38ecb6dad1852fb79e9ea4f67a3333c9f376 /lua/visrc.lua | |
| parent | 1b896d13b8384958e7b898d85869468eee729961 (diff) | |
| download | vis-065a804d282ac99dd93e9ebaf7bc986ccf53e75b.tar.gz vis-065a804d282ac99dd93e9ebaf7bc986ccf53e75b.tar.xz | |
lua: move non-core code out of vis.lua
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
Diffstat (limited to 'lua/visrc.lua')
| -rw-r--r-- | lua/visrc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/visrc.lua b/lua/visrc.lua index 95aa1c0..4c44f6a 100644 --- a/lua/visrc.lua +++ b/lua/visrc.lua @@ -1,5 +1,7 @@ -- load standard vis module, providing parts of the Lua API require('vis') +require('plugins/filetype') +require('plugins/textobject-lexer') vis.events.start = function() -- Your global configuration options e.g. |
