Files
org-vim/runtime/ftplugin/fstab.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
719 B
VimL
Raw Normal View History

2021-01-02 16:39:53 +01:00
" 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 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
2021-01-02 16:39:53 +01:00
"
" 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<"
2021-01-02 16:39:53 +01:00
2021-01-11 19:40:15 +01:00
" vim: ts=8 ft=vim