neovim/runtime/autoload
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
..
dist vim-patch:8.2.3432: octave/Matlab filetype detection does not work properly (#15652) 2021-09-13 10:00:09 +02:00
health feat(lsp): add lsp healthcheck 2021-09-07 20:51:40 -07:00
provider fixup(clipboard): Fix error not properly handled #14984 2021-07-11 06:19:54 -07:00
remote runtime: fix remote plugin command fails at some case 2020-05-31 20:21:58 +09:00
xml re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ada.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
adacomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
ccomplete.vim vim-patch:4466ad6baa22 2021-05-01 22:29:02 -04:00
clojurecomplete.vim vim-patch:942db23c9cb7 2021-05-01 23:47:11 -04:00
context.vim vim-patch:46fceaaa8d14 2017-04-29 01:47:36 +02:00
contextcomplete.vim vim-patch:46fceaaa8d14 2017-04-29 01:47:36 +02:00
csscomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
decada.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
gnat.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
gzip.vim vim-patch:2ec618c9feac 2017-04-28 23:49:16 +02:00
haskellcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
health.vim checkhealth: validate locale (#9548) 2019-01-26 00:41:42 +01:00
htmlcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
javascriptcomplete.vim runtime/javascript: e7b1ea0276cc83cd5c612f3189a174a60d57b5ed 2020-12-12 11:38:33 -05:00
man.vim fix(man.vim): ensure buftype=nofile after :tag or :stag #15675 2021-09-16 06:51:26 -07:00
msgpack.vim runtime/msgpack: Fix inf/nan regexp 2018-09-06 02:12:36 +03:00
netrw_gitignore.vim runtime/netrw: 5ef1c6a4838a9629b793f3ae676f72a764171b00 2021-02-15 21:16:27 -05:00
netrw.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
netrwFileHandlers.vim vim-patch:1d59aa1fdfb1 2021-05-01 01:37:13 -04:00
netrwSettings.vim vim-patch:89a9c159f23f #15641 2021-09-13 06:05:27 -07:00
paste.vim vim-patch:314dd79cac2a 2019-07-29 20:50:07 +02:00
phpcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
provider.vim Add overlapped option to jobstart 2020-06-10 22:21:14 +09:00
python3complete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
pythoncomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
README.txt re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
RstFold.vim vim-patch:4c05fa08c973 2019-07-29 20:50:07 +02:00
rubycomplete.vim vim-patch:4d8f476176ea (#15612) 2021-09-10 08:48:27 +02:00
rust.vim vim-patch:3c2881dc1195 2017-11-07 01:04:17 +01:00
rustfmt.vim vim-patch:3c2881dc1195 2017-11-07 01:04:17 +01:00
shada.vim shada: Set the unnamed register to the previous unnamed register on startup 2017-05-31 13:18:59 -04:00
spellfile.vim runtime: update g:spellfile_URL to URL used in Vim 8 2020-09-17 13:31:55 +02:00
sqlcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
syntaxcomplete.vim vim-patch:4c295027a426 2021-05-02 13:00:38 -04:00
tar.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
tohtml.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
tutor.vim tutor: force one sign per line (#14352) 2021-04-13 12:13:44 +02:00
vimexpect.vim Make VimL code compatible with merged Partial support (#5765) 2016-12-13 14:48:42 +01:00
xmlcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
xmlformat.vim xmlformat.vim: patch runtime/autoload to eab6dff19 2020-11-22 18:05:02 +01:00
zip.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00

The autoload directory is for standard Vim autoload scripts.

These are functions used by plugins and for general use.  They will be loaded
automatically when the function is invoked.  See ":help autoload".

gzip.vim	for editing compressed files
netrw*.vim	browsing (remote) directories and editing remote files
tar.vim		browsing tar files
zip.vim		browsing zip files
paste.vim	common code for mswin.vim, menu.vim and macmap.vim
spellfile.vim	downloading of a missing spell file

Omni completion files:
ccomplete.vim		C
csscomplete.vim		HTML / CSS
htmlcomplete.vim	HTML
javascriptcomplete.vim  Javascript
phpcomplete.vim		PHP
pythoncomplete.vim	Python
rubycomplete.vim	Ruby
syntaxcomplete.vim	from syntax highlighting
xmlcomplete.vim		XML (uses files in the xml directory)