]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(fstab): set formatoptions-=t in filetype plugin
authorRadu Dineiu <radu.dineiu@gmail.com>
Sun, 6 Apr 2025 15:33:13 +0000 (17:33 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 6 Apr 2025 15:34:58 +0000 (17:34 +0200)
closes: #17020

Signed-off-by: Radu Dineiu <radu.dineiu@gmail.com>
Co-authored-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/fstab.vim

index 0e7ffda4985afeb6a1835942614959994698287e..d340c4b8d52330a34995c30828a588a392ba75d3 100644 (file)
@@ -2,9 +2,12 @@
 " Language: fstab file
 " Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
 " URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
-" Last Change: 2021 Jan 02
-"              2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
-" Version: 1.0
+" 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>
@@ -15,6 +18,8 @@ endif
 let b:did_ftplugin = 1
 
 setlocal commentstring=#\ %s
-let b:undo_ftplugin = "setlocal commentstring<"
+setlocal formatoptions-=t
+
+let b:undo_ftplugin = "setlocal commentstring< formatoptions<"
 
 " vim: ts=8 ft=vim