Mercurial > vim
view runtime/indent/vroom.vim @ 17403:9b6c0ef29c20 v8.1.1700
patch 8.1.1700: listener callback called for the wrong buffer
commit https://github.com/vim/vim/commit/250e3112c6dc4c4ceded308d5b94392ec02bc03f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 15 23:02:14 2019 +0200
patch 8.1.1700: listener callback called for the wrong buffer
Problem: Listener callback called for the wrong buffer.
Solution: Invoke listeners before calling ml_append_int().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Jul 2019 23:15:07 +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