Files
neovim/runtime/ftplugin
Justin M. Keyes b6b12ea7c3 fix(man.vim): filetype=man is too eager #15489
Problem:
"set filetype=man" assumes the user wants :Man features, this does extra
stuff like renaming the buffer as "man://".

Solution:
- old entrypoint was ":set filetype=man", but this is too presumptuous #15487
- make the entrypoints more explicit:
  1. when the ":Man" command is run
  2. when a "man://" buffer is opened
- remove the tricky b:man_sect checks in ftplugin/man.vim and syntax/man.vim
- MANPAGER is supported via ":Man!", as documented.

fixes #15487
2021-08-26 02:50:30 -07:00
..
2019-08-01 16:51:53 +02:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2021-05-01 23:19:58 -04:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2021-04-28 21:29:57 -04:00
2017-11-06 05:26:16 +01:00
2021-05-01 22:29:02 -04:00
2021-04-27 09:21:27 -04:00
2021-05-01 23:19:58 -04:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2021-05-01 23:19:58 -04:00
2021-04-27 09:21:34 -04:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2019-07-29 20:50:07 +02:00
2014-07-29 02:12:31 +00:00
2016-05-03 21:13:41 +02:00
2018-10-29 06:38:10 +01:00
2021-05-01 23:47:11 -04:00
2018-10-29 23:55:45 +01:00
2021-04-29 21:08:09 -04:00
2017-11-06 05:26:16 +01:00
2017-04-29 01:51:56 +02:00
2021-04-29 09:27:19 -04:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2021-05-01 22:29:03 -04:00
2017-04-28 21:13:55 +02:00
2017-11-06 05:26:16 +01:00
2018-10-29 09:17:43 +01:00
2018-10-29 09:17:43 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-04-29 09:27:19 -04:00
2017-11-06 05:26:16 +01:00
2015-01-04 19:42:30 +01:00
2021-04-28 21:29:56 -04:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2021-05-01 22:29:03 -04:00
2016-07-08 01:38:21 -04:00
2017-11-06 05:26:16 +01:00
2021-05-01 23:19:57 -04:00
2019-07-29 20:50:07 +02:00
2017-11-06 05:26:16 +01:00
2021-05-01 14:22:52 -04:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:03:34 -04:00
2021-05-02 13:00:38 -04:00
2021-05-01 23:19:58 -04:00
2021-05-01 23:19:58 -04:00
2021-05-01 23:19:57 -04:00
2017-11-07 23:07:03 +01:00
2021-04-27 09:21:31 -04:00
2014-12-30 13:51:39 +01:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:44:04 -04:00
2016-10-15 12:15:36 +09:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-04-27 09:21:31 -04:00
2021-05-01 23:19:58 -04:00
2018-10-29 23:54:15 +01:00
2019-07-29 20:50:07 +02:00
2016-05-25 21:05:01 -04:00
2016-05-03 20:59:26 +02:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-04-27 09:21:30 -04:00
2021-04-27 09:21:31 -04:00
2014-07-29 02:12:31 +00:00
2015-11-08 03:39:07 +01:00
2014-07-29 02:12:31 +00:00
2017-11-06 05:26:16 +01:00
2015-10-11 18:07:58 -04:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-05-02 11:51:38 -04:00
2019-07-29 20:50:07 +02:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2014-07-29 02:12:31 +00:00
2021-05-02 12:44:04 -04:00
2021-05-02 12:44:04 -04:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-05-01 22:29:02 -04:00
2017-11-06 05:26:16 +01:00
2021-04-28 21:29:57 -04:00
2021-04-27 09:21:27 -04:00
2021-05-25 22:11:04 -04:00
2017-04-29 01:01:51 +02:00
2019-07-29 20:50:07 +02:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:44:04 -04:00
2021-05-02 12:44:04 -04:00
2017-04-29 01:01:51 +02:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-07 23:07:03 +01:00
2017-11-06 05:26:16 +01:00
2021-05-01 22:29:03 -04:00
2018-10-28 14:05:14 +01:00
2021-05-01 23:19:58 -04:00
2017-11-06 05:26:16 +01:00
2021-05-02 13:00:38 -04:00
2017-11-06 05:26:16 +01:00
2021-05-01 22:29:02 -04:00
2014-07-29 02:12:31 +00:00
2021-04-28 21:29:56 -04:00
2014-07-29 02:12:31 +00:00
2017-11-06 05:26:16 +01:00
2021-05-02 10:33:32 -04:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:03:34 -04:00
2021-05-02 12:03:34 -04:00
2021-05-01 14:22:52 -04:00
2019-08-02 16:20:22 +02:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:53:49 -04:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:53:49 -04:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:53:49 -04:00
2021-05-02 12:53:49 -04:00
2017-11-06 05:26:16 +01:00
2021-05-02 12:53:49 -04:00
2021-05-01 22:29:02 -04:00
2021-05-02 12:53:49 -04:00
2021-04-27 22:40:39 -04:00
2021-04-27 09:21:32 -04:00
2017-11-07 01:04:17 +01:00
2021-04-27 09:21:31 -04:00
2017-11-07 01:27:14 +01:00
2017-04-28 23:14:36 +02:00
2021-04-27 09:21:30 -04:00
2017-11-06 05:26:16 +01:00
2017-04-28 21:13:55 +02:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-05-01 22:29:03 -04:00
2014-07-29 02:12:31 +00:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2021-05-01 22:29:03 -04:00
2019-08-01 23:27:26 +02:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2021-05-01 23:19:57 -04:00
2021-04-27 09:21:34 -04:00
2017-11-06 05:26:16 +01:00
2021-04-28 21:29:56 -04:00
2021-05-25 22:11:04 -04:00
2014-07-29 02:12:31 +00:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2019-07-29 20:50:07 +02:00
2021-05-01 23:19:58 -04:00
2017-11-06 05:35:32 +01:00
2017-11-06 05:26:16 +01:00
2018-08-10 19:01:17 +02:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2017-11-07 03:23:37 +01:00
2021-05-02 12:44:04 -04:00
2014-12-30 13:51:39 +01:00
2018-10-29 09:57:24 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2017-11-06 05:26:16 +01:00
2019-07-29 20:50:07 +02:00
2017-11-06 05:26:16 +01:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2021-04-27 21:25:35 -04:00
2018-10-28 13:57:08 +01:00

The ftplugin directory is for Vim plugin scripts that are only used for a
specific filetype.

All files ending in .vim in this directory and subdirectories will be sourced
by Vim when it detects the filetype that matches the name of the file or
subdirectory.
For example, these are all loaded for the "c" filetype:

	c.vim
	c_extra.vim
	c/settings.vim

Note that the "_" in "c_extra.vim" is required to separate the filetype name
from the following arbitrary name.

The filetype plugins are only loaded when the ":filetype plugin" command has
been used.

The default filetype plugin files contain settings that 95% of the users will
want to use.  They do not contain personal preferences, like the value of
'shiftwidth'.

If you want to do additional settings, or overrule the default filetype
plugin, you can create your own plugin file.  See ":help ftplugin" in Vim.