summarylogtreecommitdiffstats
path: root/nvim-r.install
diff options
context:
space:
mode:
Diffstat (limited to 'nvim-r.install')
-rw-r--r--nvim-r.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/nvim-r.install b/nvim-r.install
new file mode 100644
index 000000000000..6d4fecd3ecf4
--- /dev/null
+++ b/nvim-r.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n 'Updating vim help tags...'
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo 'done.'
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+ echo 'You may also want to delete ~/R/*/*/nvimcom'
+}