summarylogtreecommitdiffstats
path: root/coc-neovim-doc.hook
diff options
context:
space:
mode:
authorSainnhepark2020-07-27 10:06:30 +0800
committerSainnhepark2020-07-27 10:06:30 +0800
commit8e7a2397b586bea6d0f9f2710366a4633df9e8a1 (patch)
treeac791c5f7660efaa13eec62abd261ed56c9d2c85 /coc-neovim-doc.hook
parentff5e79e89df6ce79e2f9106108774f81fb9d0d18 (diff)
downloadaur-8e7a2397b586bea6d0f9f2710366a4633df9e8a1.tar.gz
add hook to generate helptags
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