mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:9cd6d82: runtime(fstab): set formatoptions-=t in filetype plugin
closes: vim/vim#17020
9cd6d82fbb
Co-authored-by: Radu Dineiu <radu.dineiu@gmail.com>
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Clason
parent
1867f2a830
commit
5e192dbce2
@ -2,9 +2,12 @@
|
|||||||
" Language: fstab file
|
" Language: fstab file
|
||||||
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
|
" Maintainer: Radu Dineiu <radu.dineiu@gmail.com>
|
||||||
" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
|
" URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim
|
||||||
" Last Change: 2021 Jan 02
|
" Last Change: 2025 Mar 31
|
||||||
" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
|
" Version: 1.0.1
|
||||||
" Version: 1.0
|
"
|
||||||
|
" Changelog:
|
||||||
|
" - 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
|
||||||
|
" - 2025 Mar 31 added setlocal formatoptions-=t
|
||||||
"
|
"
|
||||||
" Credits:
|
" Credits:
|
||||||
" Subhaditya Nath <sn03.general@gmail.com>
|
" Subhaditya Nath <sn03.general@gmail.com>
|
||||||
@ -15,6 +18,8 @@ endif
|
|||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
setlocal commentstring=#\ %s
|
setlocal commentstring=#\ %s
|
||||||
let b:undo_ftplugin = "setlocal commentstring<"
|
setlocal formatoptions-=t
|
||||||
|
|
||||||
|
let b:undo_ftplugin = "setlocal commentstring< formatoptions<"
|
||||||
|
|
||||||
" vim: ts=8 ft=vim
|
" vim: ts=8 ft=vim
|
||||||
|
Reference in New Issue
Block a user