Files
neovim/runtime
zeertzjq 29bc648d2b fix(man.vim): ensure buftype=nofile after :tag or :stag #15675
Problem:
`buftype=help` occasionally propagates from help to man buffer. As a result the
next time you open help it opens in the man window, replacing the manpage.

Test case:
    nvim -u NORC
    :Man man
    :set bt?            " should print `buftype=nofile`
    :help
    <C-W><C-W><C-W>c    " go back to :Man window and close it
    :help               " focus help window
    :Man man            " open window with manpage again
    :set bt?            " prints `buftype=help`

Solution:
- call s:set_options()
    - man#read_page() (called by autocmd BufReadCmd man://*) should already do
      this. But BufReadCmd doesn't fire for already-existing man:// buffers.

Fix #15650
2021-09-16 06:51:26 -07:00
..
2021-05-01 14:22:52 -04:00
2021-09-13 16:33:41 +02:00
2021-09-13 16:33:41 +02:00
2021-09-13 16:33:41 +02:00
2021-09-13 16:33:41 +02:00
2021-09-15 11:35:04 -07:00
2021-05-01 22:29:03 -04:00
2021-09-13 16:33:41 +02:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2021-09-13 16:33:41 +02:00
2021-04-29 21:08:09 -04:00
2019-07-29 20:50:07 +02:00
2021-09-13 16:33:41 +02:00
2021-04-27 09:21:32 -04:00
2021-04-28 21:57:50 -04:00
2019-07-29 20:50:07 +02:00
2021-07-02 18:12:11 +02:00
2021-05-01 22:29:03 -04:00
2014-07-29 02:12:31 +00:00
2021-05-01 22:29:02 -04:00