commit 92f0933abbac1bf0a080256a41b8de81987c7e62 parent f247402010d92aa4dc90cc979e33ea6e47f49ee6 Author: zeertzjq <zeertzjq@outlook.com> Date: Fri, 14 Feb 2025 19:53:41 +0800 vim-patch:407319f: runtime(samba): include simple filetype plugin closes: vim/vim#16626 https://github.com/vim/vim/commit/407319fe89d5df2c732937474479803d67761879 Co-authored-by: Matt Perry <matt@mattperry.com> Diffstat:
| A | runtime/ftplugin/samba.vim | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
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<'