view runtime/ftplugin/text.vim @ 6145:2fd550c75256 v7.4.410

updated for version 7.4.410 Problem: Fold does not open after search when there is a CmdwinLeave autocommand. Solution: Restore KeyTyped. (Jacob Niehus)
author Bram Moolenaar <bram@vim.org>
date Sun, 17 Aug 2014 17:24:07 +0200
parents 0efec12f52ac
children f0f06837a699
line wrap: on
line source

" Vim filetype plugin
" Language:		Text
" Maintainer:		David Barnett <daviebdawg+vim@gmail.com>
" Last Change:		2014 Jul 09

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.

" Pseudo comment leaders to indent bulleted lists.
setlocal comments=fb:-,fb:*
setlocal commentstring=