commit dc33879dc2b2e855af1f50b1fe0ecb668f0f4a08 parent ca5fca29121a3c8757b5c4b3e35b8a4469bf4420 Author: zeertzjq <zeertzjq@outlook.com> Date: Fri, 14 Feb 2025 20:48:39 +0800 Merge pull request #32442 from zeertzjq/vim-407319f vim-patch: runtime file updates Diffstat:
| A | runtime/ftplugin/exports.vim | | | 14 | ++++++++++++++ |
| A | runtime/ftplugin/samba.vim | | | 14 | ++++++++++++++ |
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/exports.vim b/runtime/ftplugin/exports.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin +" Language: exports(5) configuration file +" Maintainer: Matt Perry <matt@mattperry.com> +" Last Change: 2025 Feb 13 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:# commentstring=#\ %s +setlocal formatoptions-=t formatoptions+=croql + +let b:undo_ftplugin = 'setl com< cms< fo<' diff --git a/runtime/ftplugin/samba.vim b/runtime/ftplugin/samba.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin +" Language: smb.conf(5) configuration file +" Maintainer: Matt Perry <matt@mattperry.com> +" Last Change: 2025 Feb 13 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:;,:# commentstring=#\ %s +setlocal formatoptions-=t formatoptions+=croql + +let b:undo_ftplugin = 'setl com< cms< fo<'