From 8f8ec15692fe834148ebe13eda2b711bb2309c6f Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Tue, 4 Jul 2023 01:02:13 +0800 Subject: [PATCH] fix(flygrep): fix unknown function error --- autoload/SpaceVim/plugins/flygrep.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autoload/SpaceVim/plugins/flygrep.vim b/autoload/SpaceVim/plugins/flygrep.vim index 4a22abeeb..bc3532cfa 100644 --- a/autoload/SpaceVim/plugins/flygrep.vim +++ b/autoload/SpaceVim/plugins/flygrep.vim @@ -14,6 +14,12 @@ if has('nvim-0.7.0') \ require("spacevim").eval("a:argv") \ ) endfunction + function! SpaceVim#plugins#flygrep#lineNr() abort + lua require("spacevim.plugin.flygrep").lineNr() + endfunction + function! SpaceVim#plugins#flygrep#mode() abort + lua require("spacevim.plugin.flygrep").mode() + endfunction finish endif let s:MPT = SpaceVim#api#import('prompt')