aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/fstab.vim
blob: d340c4b8d52330a34995c30828a588a392ba75d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
" Vim ftplugin file
" Language: fstab file
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
" Last Change: 2025 Mar 31
" Version: 1.0.1
"
" Changelog:
" - 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
" - 2025 Mar 31 added setlocal formatoptions-=t
"
" Credits:
"   Subhaditya Nath <sn03.general@gmail.com>

if exists("b:did_ftplugin")
	finish
endif
let b:did_ftplugin = 1

setlocal commentstring=#\ %s
setlocal formatoptions-=t

let b:undo_ftplugin = "setlocal commentstring< formatoptions<"

" vim: ts=8 ft=vim