view runtime/indent/vroom.vim @ 10293:0bf1d211e441 v8.0.0043

commit https://github.com/vim/vim/commit/9ec7fa82a2c4f0283862ed704c2940959e6130ee Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 18 13:06:41 2016 +0200 patch 8.0.0043 Problem: When using Insert mode completion with 'completeopt' containing "noinsert" with CTRL-N the change is not saved for undo. (Tommy Allen) Solution: Call stop_arrow() before inserting for any key.
author Christian Brabandt <cb@256bit.org>
date Tue, 18 Oct 2016 13:15:05 +0200
parents 1e8ebf870720
children
line wrap: on
line source

" Vim indent file
" Language:	Vroom (vim testing and executable documentation)
" Maintainer:	David Barnett (https://github.com/google/vim-ft-vroom)
" Last Change:	2014 Jul 23

if exists('b:did_indent')
  finish
endif
let b:did_indent = 1

let s:cpo_save = &cpo
set cpo-=C


let b:undo_indent = 'setlocal autoindent<'

setlocal autoindent


let &cpo = s:cpo_save
unlet s:cpo_save