add visrc and lithaskell lexer

This commit is contained in:
Felix Van der Jeugt 2017-10-04 15:11:16 +02:00
parent 80ad92eb58
commit d5c8feba9a
No known key found for this signature in database
GPG key ID: 58B209295023754D
3 changed files with 50 additions and 0 deletions

27
config/vis/visrc.lua Normal file
View file

@ -0,0 +1,27 @@
-- load standard vis module, providing parts of the Lua API
require('vis')
require('plugins/complete-word')
require('plugins/myfiletype')
vis.events.subscribe(vis.events.INIT, function()
-- Your global configuration options
end)
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
-- Your per window configuration options e.g.
-- vis:command('set number')
vis:command('set tabwidth 4')
vis:command('set autoindent on')
vis:command('set expandtab on')
vis:command('set show-tabs on')
vis:command('set number')
vis:command('set theme dark-16')
end)
vis:map(vis.modes.NORMAL, ";l", function()
local out = io.popen("fzf"):read()
if out then
vis:command(string.format('open %s', out))
end
vis:feedkeys(" ")
end)