summaryrefslogtreecommitdiff
path: root/uvim/runtime/ftplugin/fstab.mnv
blob: 2c681d36198c7a16b8ff42dc285693c14bb1c3fd (plain)
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
26
27
28
29
30
" MNV ftplugin file
" Language: fstab file
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
" URL: https://raw.github.com/rid9/mnv-fstab/master/ftplugin/fstab.mnv
" Last Change: 2025 Aug 21
" Version: 1.1.0
"
" Changelog:
" - 2025 Aug 21 added support for mtab
" - 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

if expand('%:t') == 'mtab'
  let b:fstab_enable_mtab = 1
endif

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

" mnv: ts=8 ft=mnv