diff options
-rw-r--r-- | runtime/ftplugin/samba.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/samba.vim b/runtime/ftplugin/samba.vim new file mode 100644 index 0000000000..1f4a26f75c --- /dev/null +++ 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<' |