Skip to content

Commit

Permalink
modern visrc
Browse files Browse the repository at this point in the history
  • Loading branch information
aredridel committed Feb 16, 2017
1 parent 7176a11 commit a122eaa
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions config/vis/visrc.lua
@@ -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)

0 comments on commit a122eaa

Please sign in to comment.