Mercurial > vim
view runtime/indent/vroom.vim @ 6789:874c953aca49 v7.4.716
patch 7.4.716
Problem: When using the 'c' flag of ":substitute" and selecting "a" or "l"
at the prompt the flags are not remembered for ":&&". (Ingo
Karkat)
Solution: Save the flag values and restore them. (Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 04 May 2015 10:46:03 +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