diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 20:26:22 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 21:25:35 -0400 |
commit | e7f6c520141c104960790d9bb2e52260ba959b76 (patch) | |
tree | ca42aab8e3c440bdbbef1dc4b2244fa0b4211edf /runtime/ftplugin | |
parent | a299f54cd7e949e93a9ddc07ec13999e6da489af (diff) | |
download | rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.tar.gz rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.tar.bz2 rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.zip |
vim-patch:b17893aa940d
Update runtime files
https://github.com/vim/vim/commit/b17893aa940dc7d45421f875f5d90855880aad27
Omit feedkeys() changes.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/yaml.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/ftplugin/yaml.vim b/runtime/ftplugin/yaml.vim index ceff36f7e4..db7cbd7ddb 100644 --- a/runtime/ftplugin/yaml.vim +++ b/runtime/ftplugin/yaml.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: YAML (YAML Ain't Markup Language) -" Previous Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2008-07-09 +" Previous Maintainer: Nikolai Weibull <now@bitwi.se> (inactive) +" Last Change: 2020 Mar 02 if exists("b:did_ftplugin") finish @@ -16,5 +16,10 @@ let b:undo_ftplugin = "setl com< cms< et< fo<" setlocal comments=:# commentstring=#\ %s expandtab setlocal formatoptions-=t formatoptions+=croql +if !exists("g:yaml_recommended_style") || g:yaml_recommended_style != 0 + let b:undo_ftplugin ..= " sw< sts<" + setlocal shiftwidth=2 softtabstop=2 +endif + let &cpo = s:cpo_save unlet s:cpo_save |