summarylogtreecommitdiffstats
path: root/vimdoc.install
blob: e8d965fa1d39d39e09453f46a471efe248839343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
update_tags() {
    echo -n "Updating vim help tags..."
    /usr/bin/vim --noplugins -u NONE -U NONE \
        --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
    echo " done."
}

post_install() {
  update_tags $1
  echo "Add lines like \"filetype plugin on\", \"filetype indent on\" to your .vimrc"
  echo "in order to enable OMLet."
}


post_upgrade() {
  update_tags $1
}

post_remove() {
  update_tags $1
}

op=$1
shift

$op $*