view runtime/compiler/rst.vim @ 10904:c68775848f5f v8.0.0341

patch 8.0.0341: undo does not work properly when using completion commit https://github.com/vim/vim/commit/d56a79d3396cf70861b7f739a3c400db91ce7b70 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 19 15:26:18 2017 +0100 patch 8.0.0341: undo does not work properly when using completion Problem: When using complete() and typing a character undo is saved after the character was inserted. (Shougo) Solution: Save for undo before inserting the character.
author Christian Brabandt <cb@256bit.org>
date Sun, 19 Feb 2017 15:30:04 +0100
parents 91e53bcb7946
children 1218c5353e2b
line wrap: on
line source

" Vim compiler file
" Compiler:         reStructuredText Documentation Format
" Maintainer:       Nikolai Weibull <now@bitwi.se>
" Latest Revision:  2006-04-19

if exists("current_compiler")
  finish
endif
let current_compiler = "rst"

let s:cpo_save = &cpo
set cpo&vim

setlocal errorformat=
      \%f:%l:\ (%tEBUG/0)\ %m,
      \%f:%l:\ (%tNFO/1)\ %m,
      \%f:%l:\ (%tARNING/2)\ %m,
      \%f:%l:\ (%tRROR/3)\ %m,
      \%f:%l:\ (%tEVERE/3)\ %m,
      \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
      \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
      \%DMaking\ %*\\a\ in\ %f

let &cpo = s:cpo_save
unlet s:cpo_save