1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-21 17:25:11 +01:00
vim/runtime/ftplugin/text.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
498 B
VimL
Raw Normal View History

2014-07-10 22:01:47 +02:00
" Vim filetype plugin
" Language: Text
" Maintainer: David Barnett <daviebdawg+vim@gmail.com>
2019-01-17 16:07:22 +01:00
" Last Change: 2019 Jan 10
2014-07-10 22:01:47 +02:00
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = 'setlocal comments< commentstring<'
" We intentionally don't set formatoptions-=t since text should wrap as text.
2019-01-17 16:07:22 +01:00
" Pseudo comment leaders to indent bulleted lists with '-' and '*'. And allow
" for Mail quoted text with '>'.
setlocal comments=fb:-,fb:*,n:>
2014-07-10 22:01:47 +02:00
setlocal commentstring=