aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

Highlighting fails with vim and less #155

Closed arminveres closed 5 months ago

arminveres commented 1 year ago

Highlighting fails, as it the pager only prints escape sequences 2023-05-10_13-50

I tried using vim, less as pager. I was also wondering, whether bat worked, but I cannot set it as pager. Neovim works, but I needed to disable a plugin, otherwise it would dump a hex version of it and since the buffer is not modifiable I had to remove that plugin.

Following version is installed

/home/arminveres/.local/bin/cppman Ver 0.5.6
Copyright (C) 2010 Wei-Ning Huang
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Wei-Ning Huang (AZ) <aitjcize@gmail.com>.
KSR-Yasuda commented 5 months ago

As for less, this would fix it.

aitjcize commented 5 months ago

Thanks @KSR-Yasuda, marking this one as fixed.