robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
6018aed92f
master
1" Vim ftplugin file 2" Language: fstab file 3" Maintainer: Radu Dineiu <radu.dineiu@gmail.com> 4" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim 5" Last Change: 2025 Aug 21 6" Version: 1.1.0 7" 8" Changelog: 9" - 2025 Aug 21 added support for mtab 10" - 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring') 11" - 2025 Mar 31 added setlocal formatoptions-=t 12" 13" Credits: 14" Subhaditya Nath <sn03.general@gmail.com> 15 16if exists ( "b:did_ftplugin" ) 17finish 18endif 19let b: did_ftplugin = 1 20 21setlocal commentstring = #\ %s 22setlocal formatoptions -= t 23 24if expand ( '%:t' ) == 'mtab' 25let b: fstab_enable_mtab = 1 26endif 27 28let b: undo_ftplugin = "setlocal commentstring< | setlocal formatoptions<" 29 30" vim: ts=8 ft=vim