Mercurial > vim
view runtime/indent/vroom.vim @ 9430:e70fd2eb3ae1 v7.4.1996
commit https://github.com/vim/vim/commit/1e5e1231ac9e1ba9678812c96f9d554a078eeec4
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 7 17:33:02 2016 +0200
patch 7.4.1996
Problem: Capturing the output of a command takes a few commands.
Solution: Add evalcmd().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 07 Jul 2016 17:45:04 +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