Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
Commit: runtime(fstab): set formatoptions-=t in filetype plugin
2 views
Skip to first unread message
Christian Brabandt
unread,
Apr 6, 2025, 11:45:13 AM
4/6/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
runtime(fstab): set formatoptions-=t in filetype plugin
Commit:
https://github.com/vim/vim/commit/9cd6d82fbb1693aff2878d851571aa0126b3cb38
Author: Radu Dineiu <
radu....@gmail.com
>
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 <
radu....@gmail.com
>
Co-authored-by: Christian Brabandt <
c...@256bit.org
>
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 <
radu....@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 <
rib...@gmail.com
> ('commentstring')
-" Version: 1.0
+" Last Change: 2025 Mar 31
+" Version: 1.0.1
+"
+" Changelog:
+" - 2024 May 23 by Riley Bruins <
rib...@gmail.com
> ('commentstring')
+" - 2025 Mar 31 added setlocal formatoptions-=t
"
" Credits:
" Subhaditya Nath <
sn03.g...@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
Reply all
Reply to author
Forward
0 new messages