Skip to content

Commit cfc9fcc

Browse files
clasonjamessan
andcommitted
vim-patch:2708c0b5854f
runtime(deb822sources): Add minimal ftplugin (vim/vim#14240) Set comment related options and avoid automatic line wrapping. vim/vim@2708c0b Co-authored-by: James McCoy <[email protected]>
1 parent c72d877 commit cfc9fcc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: runtime/ftplugin/deb822sources.vim

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
" Language: Debian sources.list
2+
" Maintainer: Debian Vim Maintainers <[email protected]>
3+
" Last Change: 2024 Mar 20
4+
" License: Vim License
5+
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/ftplugin/deb822sources.vim
6+
7+
if exists('b:did_ftplugin')
8+
finish
9+
endif
10+
let b:did_ftplugin=1
11+
12+
setlocal comments=:#
13+
setlocal commentstring=#%s
14+
setlocal formatoptions-=t
15+
16+
let b:undo_ftplugin = 'setlocal comments< commentstring< formatoptions<'

0 commit comments

Comments
 (0)