mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
Set comment related options and avoid automatic line wrapping. Signed-off-by: James McCoy <jamessan@jamessan.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
17 lines
473 B
VimL
17 lines
473 B
VimL
" Language: Debian sources.list
|
|
" Maintainer: Debian Vim Maintainers <team+vim@tracker.debian.org>
|
|
" Last Change: 2024 Mar 20
|
|
" License: Vim License
|
|
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/ftplugin/deb822sources.vim
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin=1
|
|
|
|
setlocal comments=:#
|
|
setlocal commentstring=#%s
|
|
setlocal formatoptions-=t
|
|
|
|
let b:undo_ftplugin = 'setlocal comments< commentstring< formatoptions<'
|