summarylogtreecommitdiffstats
path: root/coc-neovim-doc.hook
diff options
context:
space:
mode:
Diffstat (limited to 'coc-neovim-doc.hook')
-rw-r--r--coc-neovim-doc.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/coc-neovim-doc.hook b/coc-neovim-doc.hook
new file mode 100644
index 000000000000..8351ddd27b37
--- /dev/null
+++ b/coc-neovim-doc.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation= Remove
+Type = Path
+Target = usr/share/nvim/runtime/pack/coc/start/coc.nvim/doc/
+
+[Action]
+Description = Updating Vim help tags...
+Exec = /usr/bin/nvim -es --cmd ":helptags /usr/share/nvim/runtime/pack/coc/start/coc.nvim/doc" --cmd ":q"
+When = PostTransaction