view runtime/ftplugin/text.vim @ 18257:f5a6c8261f64 v8.1.2123

patch 8.1.2123: parsing CSI sequence is messy Commit: https://github.com/vim/vim/commit/c3e555b22f24f93aabd31943c35a9228abb6ecb6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 8 20:15:39 2019 +0200 patch 8.1.2123: parsing CSI sequence is messy Problem: Parsing CSI sequence is messy. Solution: Generalize parsing a CSI sequence.
author Bram Moolenaar <Bram@vim.org>
date Tue, 08 Oct 2019 20:30:04 +0200
parents f0f06837a699
children
line wrap: on
line source

" Vim filetype plugin
" Language:		Text
" Maintainer:		David Barnett <daviebdawg+vim@gmail.com>
" Last Change:		2019 Jan 10

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 with '-' and '*'.  And allow
" for Mail quoted text with '>'.
setlocal comments=fb:-,fb:*,n:>
setlocal commentstring=