Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
-- load standard vis module, providing parts of the Lua API | ||
require('vis') | ||
require('plugins/filetype') | ||
require('plugins/textobject-lexer') | ||
|
||
vis.events.win_open = function(win) | ||
vis.filetype_detect(win) | ||
vis:command('set theme subtle-256') | ||
vis.events.subscribe(vis.events.INIT, function() | ||
-- vis:command('set theme subtle-256') | ||
-- vis:command('set theme light-16') | ||
vis:command('set theme solarized') | ||
end) | ||
|
||
|
||
vis.events.subscribe(vis.events.WIN_OPEN, function(win) | ||
vis:command('set tabwidth 2') | ||
vis:command('set expandtab yes') | ||
vis:command('set autoindent yes') | ||
end | ||
end) |