Mercurial > vim
changeset 32708:346703c4ddd1
Fix alignment in filetype.txt (#12618)
Commit: https://github.com/vim/vim/commit/0401933a5be3b72e12427cdaf8b7ff2694690d02
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Aug 9 23:39:05 2023 +0800
Fix alignment in filetype.txt (https://github.com/vim/vim/issues/12618)
There are three spaces because the "<" is concealed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 09 Aug 2023 17:45:04 +0200 |
parents | 0d9aa2e5e9d0 |
children | ea044451c98f |
files | runtime/doc/filetype.txt |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -394,7 +394,7 @@ 1. Add a few settings. You must create a new filetype plugin in a directory early in 'runtimepath'. For Unix, for example you could use this file: > vim ~/.vim/ftplugin/fortran.vim -< You can set those settings and mappings that you would like to add. Note +< You can set those settings and mappings that you would like to add. Note that the global plugin will be loaded after this, it may overrule the settings that you do here. If this is the case, you need to use one of the following two methods. @@ -403,7 +403,7 @@ 2. Make a copy of the plugin and change You must put the copy in a directory early in 'runtimepath'. For Unix, for example, you could do this: > cp $VIMRUNTIME/ftplugin/fortran.vim ~/.vim/ftplugin/fortran.vim -< Then you can edit the copied file to your liking. Since the b:did_ftplugin +< Then you can edit the copied file to your liking. Since the b:did_ftplugin variable will be set, the global plugin will not be loaded. A disadvantage of this method is that when the distributed plugin gets improved, you will have to copy and modify it again. @@ -412,7 +412,7 @@ 3. Overrule the settings after loading t You must create a new filetype plugin in a directory from the end of 'runtimepath'. For Unix, for example, you could use this file: > vim ~/.vim/after/ftplugin/fortran.vim -< In this file you can change just those settings that you want to change. +< In this file you can change just those settings that you want to change. ============================================================================== 3. Docs for the default filetype plugins. *ftplugin-docs*