diff --git a/bin/man.fish b/bin/man.fish deleted file mode 100755 index f8cbdfd..0000000 --- a/bin/man.fish +++ /dev/null @@ -1 +0,0 @@ -man $argv diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim index d9467ff..1eeaf50 100644 --- a/ftplugin/fish.vim +++ b/ftplugin/fish.vim @@ -35,9 +35,7 @@ else endif " Use the 'man' wrapper function in fish to include fish's man pages. -" Have to use a script for this; 'fish -c man' would make the the man page an -" argument to fish instead of man. -execute 'setlocal keywordprg=fish\ '.expand(':p:h:h').'/bin/man.fish' +setlocal keywordprg=fish\ -c\ man\\ let b:match_words = escape( \'<%(begin|function|%(else\s\+)\@:::'