Mercurial > vim
view runtime/ftplugin/xinetd.vim @ 10696:689e88afdd11 v8.0.0238
patch 8.0.0238: bracketed paste does not disable autoindent
commit https://github.com/vim/vim/commit/9e817c8a31232eda57963215eb16ee5b1ceefa7b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 25 21:36:17 2017 +0100
patch 8.0.0238: bracketed paste does not disable autoindent
Problem: When using bracketed paste autoindent causes indent to be
increased.
Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 25 Jan 2017 21:45:04 +0100 |
parents | f4f8014d516e |
children | 1218c5353e2b |
line wrap: on
line source
" Vim filetype plugin file " Language: xinetd.conf(5) configuration file " 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 com< cms< inc< fo<" setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save