From 49c496f32efaebe6e5542ab40f6e49ea7ba81a31 Mon Sep 17 00:00:00 2001 From: David Briscoe Date: Thu, 30 Jan 2020 17:02:52 -0800 Subject: [PATCH] Allow K to lookup love documentation Love documentation can be provided with vim-love-docs: https://github.com/davisdude/vim-love-docs/releases/tag/0.6.1 Or with my fork of luarefvim (includes both lua51 and love docs): https://github.com/idbrii/luarefvim --- autoload/xolox/lua.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/xolox/lua.vim b/autoload/xolox/lua.vim index d67616b..4259edf 100644 --- a/autoload/xolox/lua.vim +++ b/autoload/xolox/lua.vim @@ -158,6 +158,7 @@ function! xolox#lua#help() " {{{1 call s:lookupmethod(cword, 'lrv-file:', '\v<(close|flush|lines|read|seek|setvbuf|write)>') call s:lookupmethod(cword, '', '\v:\w+>') call s:lookuptopic('lrv-' . cword) + call s:lookuptopic('love-' . cword) call s:lookuptopic(cword) call s:lookuptopic('luarefvim.txt') help