aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-04-06 17:48:36 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-04-07 10:19:00 +0200
commit5e192dbce2bee591eb94fb682213cbee3468d6d4 (patch)
tree4d4658688912464cce5ca4ff2ba7eda04d02422e
parent1867f2a830dbdcc0fdd135161f25d147eec8e903 (diff)
downloadrneovim-5e192dbce2bee591eb94fb682213cbee3468d6d4.tar.gz
rneovim-5e192dbce2bee591eb94fb682213cbee3468d6d4.tar.bz2
rneovim-5e192dbce2bee591eb94fb682213cbee3468d6d4.zip
vim-patch:9cd6d82: runtime(fstab): set formatoptions-=t in filetype plugin
closes: vim/vim#17020 https://github.com/vim/vim/commit/9cd6d82fbb1693aff2878d851571aa0126b3cb38 Co-authored-by: Radu Dineiu <radu.dineiu@gmail.com> Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/ftplugin/fstab.vim13
1 files changed, 9 insertions, 4 deletions
diff --git a/runtime/ftplugin/fstab.vim b/runtime/ftplugin/fstab.vim
index 0e7ffda498..d340c4b8d5 100644
--- a/runtime/ftplugin/fstab.vim
+++ b/runtime/ftplugin/fstab.vim
@@ -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