-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(improvement): do not echo version. add fruzzy#version()
refs #14
- Loading branch information
Showing
4 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
function! fruzzy#install() | ||
py3 import fruzzy_installer; fruzzy_installer.install() | ||
endfunction | ||
|
||
|
||
function! fruzzy#version() | ||
if !exists("g:fruzzy#version") | ||
echo "version not set. Depending on your usage:" | ||
echo "For denite: make sure that: " | ||
echo " fruzzy is set as the matcher " | ||
echo " Activate denite and filter list once to ensure it's loaded" | ||
echo "For Ctrlp: make sure that: " | ||
echo " matcher is set as fruzzy#ctrlp#matcher" | ||
echo " Ctrlp is activated once to ensure it's loaded" | ||
return | ||
endif | ||
echomsg g:fruzzy#version | ||
return g:fruzzy#version | ||
endfunction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters