Files
macvim-mirror/runtime/ftplugin
Yee Cheng Chin 5e0c33363e Merge remote-tracking branch 'vim/master'
Additional test fixes:
- test_macvim:
  - remove check.vim import which is now done automatically
- test_gui:
  - Test_Buffers_Menu add conditional check to not run the
    LoadBufferMenu autocmd since in MacVim we don't use it.
  - Test_scrollbars remove go-k from the guioptions, due to MacVim's
    implementation being async compared to normal GVim. May need to
    revisit this in the future.

Also fix code indentation for MacVim-specific code to pass the new
Test_indent_of_source_files() test in test_codestyle.vim.
2025-07-22 16:34:55 -07:00
..
2024-11-24 14:30:43 +01:00
2023-06-10 21:40:39 +01:00
2025-03-15 09:50:41 +01:00
2023-12-28 23:17:54 +01:00
2025-07-05 15:18:41 +02:00
2023-04-22 22:40:14 +01:00
2023-02-02 13:59:48 +00:00
2023-05-14 18:50:25 +01:00
2023-04-22 22:40:14 +01:00
2024-09-01 09:21:16 +02:00
2023-02-27 15:49:53 +00:00
2023-08-23 21:20:00 +02:00
2024-07-07 21:07:56 +02:00
2025-07-20 09:49:57 +02:00
2023-08-09 16:50:52 +02:00
2023-06-10 21:40:39 +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.