Skip to content

Commit

Permalink
runtime(samba): include simple filetype plugin
Browse files Browse the repository at this point in the history
closes: #16626

Signed-off-by: Matt Perry <matt@mattperry.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
mperry2 authored and chrisbra committed Feb 13, 2025
1 parent 2c47ab8 commit 407319f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ runtime/ftplugin/routeros.vim @zainin
runtime/ftplugin/rst.vim @marshallward
runtime/ftplugin/ruby.vim @tpope @dkearns
runtime/ftplugin/rust.vim @lilyball
runtime/ftplugin/samba.vim @mperry2
runtime/ftplugin/sass.vim @tpope
runtime/ftplugin/scala.vim @derekwyatt
runtime/ftplugin/scheme.vim @evhan
Expand Down
14 changes: 14 additions & 0 deletions runtime/ftplugin/samba.vim
Original file line number Diff line number Diff line change
@@ -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<'

0 comments on commit 407319f

Please sign in to comment.