view runtime/ftplugin/deb822sources.vim @ 34595:6261385b0892

runtime(deb822sources): Add minimal ftplugin (#14240) Commit: https://github.com/vim/vim/commit/2708c0b5854faad2844454324431a593c1d2987a Author: James McCoy <jamessan@jamessan.com> Date: Wed Mar 20 14:55:05 2024 -0400 runtime(deb822sources): Add minimal ftplugin (https://github.com/vim/vim/issues/14240) 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>
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Mar 2024 20:00:09 +0100
parents
children a513a0b170e1
line wrap: on
line source

" 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<'