Created
May 10, 2018 20:30
-
-
Save lispandfound/8fae4ba4a70992258bab0692a35a097a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- load standard vis module, providing parts of the Lua API | |
| require('vis') | |
| require('surround') | |
| require('vis-commentary') | |
| vis.events.subscribe(vis.events.INIT, function() | |
| -- Your global configuration options | |
| vis:command('set theme default-16') | |
| vis:command('set ai on') | |
| vis:command('set expandtab true') | |
| vis:command('set tabwidth 4') | |
| end) | |
| vis.events.subscribe(vis.events.WIN_OPEN, function(win) | |
| -- Your per window configuration options e.g. | |
| -- vis:command('set number') | |
| end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment