rkitover / vimpager

Use Vim as PAGER
http://www.vim.org/scripts/script.php?script_id=1723
Other
774 stars 72 forks source link

--smart/-S has been removed. Use +smart or -smart extension instead. #227

Open mox-mox opened 6 years ago

mox-mox commented 6 years ago

When 'make'ing vimpager, I get the following error:

$ make
updating version tag in vimpager
updating version tag in vimcat
building vimpager-version.txt
building vimcat-version.txt
uuencoding vimcat
uuencoding autoload/vimpager.vim
uuencoding autoload/vimpager_utils.vim
uuencoding autoload/vimcat.vim
uuencoding plugin/vimpager.vim
uuencoding macros/less.vim
uuencoding syntax/perldoc.vim
uuencoding autoload/AnsiEsc.vim
uuencoding plugin/AnsiEscPlugin.vim
uuencoding plugin/cecutil.vim
building standalone/vimpager
building standalone/vimcat
generating man/vimpager.1
--smart/-S has been removed.  Use +smart or -smart extension instead.
For example: pandoc -f markdown+smart -t markdown-smart.
Try pandoc --help for more information.
make: *** [Makefile:263: man/vimpager.1] Error 2

The patch I attached will fix this issue.

Best regards, mox

patch.zip

mox-mox commented 6 years ago

I oversaw, there is another occurrence of the -S option just a few lines above. That should probably be fixed the same way.