runtime(fstab): set formatoptions-=t in filetype plugin
Commit:
https://github.com/vim/vim/commit/9cd6d82fbb1693aff2878d851571aa0126b3cb38
Author: Radu Dineiu <[email protected]>
Date: Sun Apr 6 17:33:13 2025 +0200
runtime(fstab): set formatoptions-=t in filetype plugin
closes: https://github.com/vim/vim/issues/17020
Signed-off-by: Radu Dineiu <[email protected]>
Co-authored-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/fstab.vim b/runtime/ftplugin/fstab.vim
index 0e7ffda49..d340c4b8d 100644
--- a/runtime/ftplugin/fstab.vim
+++ b/runtime/ftplugin/fstab.vim
@@ -2,9 +2,12 @@
" Language: fstab file
" Maintainer: Radu Dineiu <[email protected]>
" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
-" Last Change: 2021 Jan 02
-" 2024 May 23 by Riley Bruins <[email protected]>
('commentstring')
-" Version: 1.0
+" Last Change: 2025 Mar 31
+" Version: 1.0.1
+"
+" Changelog:
+" - 2024 May 23 by Riley Bruins <[email protected]> ('commentstring')
+" - 2025 Mar 31 added setlocal formatoptions-=t
"
" Credits:
" Subhaditya Nath <[email protected]>
@@ -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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1u1SBF-004E6d-AC%40256bit.org.