view runtime/indent/vroom.vim @ 6118:8d361608fe86 v7.4.397

updated for version 7.4.397 Problem: Matchparen only uses the topmost syntax item. Solution: Go through the syntax stack to find items. (James McCoy) Also use getcurpos() when possible.
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Aug 2014 19:09:16 +0200
parents 7090d7f160f7
children 1e8ebf870720
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