summarylogtreecommitdiffstats
path: root/nvim-man
blob: df7a9e6a5e341e530ab3f4312584d6c57ea124ad (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ -n "$1" ]; then
  exec nvim "+hide Man ${1#man:}"
fi

pname="$(basename "$0")"
echo "Example usage: $pname man:ls(1)"
exit 1