view runtime/ftplugin/help.vim @ 12226:2b965b3dd20c v8.0.0993

patch 8.0.0993: sometimes an xterm sends an extra CTRL-X commit https://github.com/vim/vim/commit/f6d9f96b2d67327bbadd7210acc7c6028439bbcd Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 24 20:21:16 2017 +0200 patch 8.0.0993: sometimes an xterm sends an extra CTRL-X Problem: Sometimes an xterm sends an extra CTRL-X after the response for the background color. Related to t_RS. Solution: Check for the CTRL-X after the terminating 0x7.
author Christian Brabandt <cb@256bit.org>
date Thu, 24 Aug 2017 20:30:04 +0200
parents 1218c5353e2b
children 9d3d7b0f4861
line wrap: on
line source

" Vim filetype plugin file
" Language:             Vim help file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2008-07-09

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

let b:undo_ftplugin = "setl fo< tw< cole< cocu<"

setlocal formatoptions+=tcroql textwidth=78
if has("conceal")
  setlocal cole=2 cocu=nc
endif

let &cpo = s:cpo_save
unlet s:cpo_save