From 48c6c952a9fccc1cc46f6cb8d817d5a4266a7c10 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 31 May 2021 16:55:12 +0200 Subject: vim: misc stuff --- .vim/lua/plugins/_goyo.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to '.vim/lua/plugins/_goyo.lua') diff --git a/.vim/lua/plugins/_goyo.lua b/.vim/lua/plugins/_goyo.lua index e18d2ba..538712d 100644 --- a/.vim/lua/plugins/_goyo.lua +++ b/.vim/lua/plugins/_goyo.lua @@ -1,9 +1,12 @@ vim.g.goyo_width = 120 vim.g.goyo_height = 90 vim.g.goyo_linenr = false -require('utils').augroup('goyo_hooks', { - {'User', 'GoyoEnter', 'set laststatus=0 scrolloff=999'}, - {'User', 'GoyoEnter', 'Limelight'}, - {'User', 'GoyoLeave', 'set laststatus=2 scrolloff=5'}, - {'User', 'GoyoLeave', 'Limelight!'}, -}) + +require('utils').augroup2 { + goyo_hooks = { + {'User', 'GoyoEnter', 'set laststatus=0 scrolloff=999'}, + {'User', 'GoyoEnter', 'Limelight'}, + {'User', 'GoyoLeave', 'set laststatus=2 scrolloff=5'}, + {'User', 'GoyoLeave', 'Limelight!'}, + } +} -- cgit 1.4.1