Mercurial > vim
view runtime/compiler/dart.vim @ 23888:d95403445b6b v8.2.2486
patch 8.2.2486: Vim9: some errors for white space do not show context
Commit: https://github.com/vim/vim/commit/ba98fb54aefada4c36390add4c7dd90b93e7e5bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 18:06:29 2021 +0100
patch 8.2.2486: Vim9: some errors for white space do not show context
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Feb 2021 18:15:05 +0100 |
parents | d4c7b3e9cd17 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Dart VM " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 May 08 if exists("current_compiler") finish endif let current_compiler = "dart" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=dart CompilerSet errorformat=%E%f:%l:%c:\ Error:\ %m, \%CTry\ %.%#, \%Z\ %#^%\\+, \%C%.%#, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save