view runtime/compiler/rst.vim @ 10757:6c3d42d18366 v8.0.0268

patch 8.0.0268: may get ml_get error when :luado deletes lines commit https://github.com/vim/vim/commit/d58f03b1c21b5b0242718f89da53ddd67b1eff6b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 29 22:48:45 2017 +0100 patch 8.0.0268: may get ml_get error when :luado deletes lines Problem: May get ml_get error when :luado deletes lines or switches to another buffer. (Nikolai Pavlov, issue https://github.com/vim/vim/issues/1421) Solution: Check the buffer and line every time.
author Christian Brabandt <cb@256bit.org>
date Sun, 29 Jan 2017 23:00: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