aboutsummaryrefslogtreecommitdiff
path: root/system/fzf/fzf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fzf/fzf.SlackBuild')
-rw-r--r--system/fzf/fzf.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index a37e7a5c3c624..638af8f83d3e7 100644
--- a/system/fzf/fzf.SlackBuild
+++ b/system/fzf/fzf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fzf
-# Copyright 2016-2017 Andrew Clemons, Wellington New Zealand
+# Copyright 2016-2018 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fzf
-VERSION=${VERSION:-0.17.3}
+VERSION=${VERSION:-0.17.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -130,6 +130,14 @@ WITH_VIM=${WITH_VIM:-yes}
if [ "$WITH_VIM" = "yes" ] ; then
mkdir -p $PKG/usr/share/vim/vimfiles/plugin
install -m 0644 plugin/fzf.vim $PKG/usr/share/vim/vimfiles/plugin
+
+ # neovim support
+ mkdir -p $PKG/usr/share/nvim/runtime/plugin
+ (
+ cd $PKG/usr/share/nvim/runtime
+
+ ln -s ../../../vim/vimfiles/plugin/fzf.vim plugin/fzf.vim
+ )
else
mkdir -p $PKG/usr/share/fzf/vim/
install -m 0644 plugin/fzf.vim $PKG/usr/share/fzf/vim/