Files
neovim/runtime/ftplugin
Colin Caine e19234f391 man.vim: silence file call (#5509)
When a file is opened by nvim with ft=man already set, and
"has('vim_starting')", ftplugin/man.vim calls
'execute 'file man://'.ref', this causes nvim to display something like
this:

````
"<name of original file>" 977, 41017C
"man://foo(1)" [Not edited] 977 lines --0%--
Press ENTER or type command to continue
````

This is annoying, because nothing of note has actually happened.

Use cases why you might want to read a man page from a file:

`MANPAGER='bash -c "nvim -c \"set ft=man\" </dev/tty <(col -bx)"' man git`
`nvim -c 'set ft=man' <(man -P cat git)`
2016-10-20 08:35:48 +02:00
..
2014-07-29 02:12:31 +00:00
2014-12-19 15:28:49 -05: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
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2016-04-18 21:50:37 -07:00
2016-09-03 12:57:41 -04:00
2014-07-29 02:12:31 +00:00
2016-05-03 21:13:41 +02: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
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-01-04 19:42:30 +01:00
2014-07-29 02:12:31 +00:00
2016-07-08 01:38:21 -04:00
2016-05-03 21:22:45 +02:00
2014-07-29 02:12:31 +00:00
2014-12-30 13:51:39 +01:00
2014-07-29 02:12:31 +00:00
2016-05-25 21:05:01 -04:00
2016-05-03 20:59:26 +02:00
2016-04-18 21:50:37 -07: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
2014-07-29 02:12:31 +00:00
2015-10-11 18:07:58 -04:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2016-10-20 08:35:48 +02:00
2015-10-11 18:07:58 -04: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
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2016-07-08 01:43:36 -04:00
2016-07-08 01:43:36 -04:00
2016-07-08 01:43:36 -04:00
2014-07-29 02:12:31 +00:00
2016-07-08 01:43:36 -04:00
2014-07-29 02:12:31 +00:00
2016-07-08 01:43:36 -04:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2016-04-11 09:23:31 -07:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2016-04-18 21:50:37 -07:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-11-28 10:59:21 +01:00
2014-07-29 02:12:31 +00:00
2015-01-04 20:28:08 +01:00
2014-12-30 13:51:39 +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
2014-12-19 15:28:49 -05:00
2015-11-08 03:39:07 +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.