lucc / nvimpager

Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
Other
382 stars 20 forks source link

nvimpager use nowrapscan by default #5

Closed acgtyrant closed 6 years ago

acgtyrant commented 6 years ago

I noticed that it will compains E384: search hit TOP without match for: \<ZSH\> when I hit the start. I execute set wrapscan? in nvimpager, it outputs nowrapscan while NeoVim's help says it will set wrapscan on by default acutally.

Of course, I use the config from the NeoVim for nvimpager, the former does not set nowrapscan.

lucc commented 6 years ago

What is this bug report about? What do you want need?

If you just want to tell me how it is, I know: https://github.com/lucc/nvimpager/blob/develop/autoload/pager.vim#L106

acgtyrant commented 6 years ago

Why do nvimpager set nowrapscan by default while the NeoVim set wrapscan by default?

lucc commented 6 years ago

That is a good question. I made this decision about 2 years ago when nvimpager was not even public. I removed it now, please try current develop.

lucc commented 6 years ago

Or try v0.5 :)