view runtime/compiler/dart.vim @ 32180:79ab211a3676 v9.0.1421

patch 9.0.1421: Nu files are not recognized Commit: https://github.com/vim/vim/commit/8aa2a37f8983a7863afa32d9ffbe64b2f2bc70be Author: Amaan Qureshi <amaanq12@gmail.com> Date: Tue Mar 21 21:28:06 2023 +0000 patch 9.0.1421: Nu files are not recognized Problem: Nu files are not recognized. Solution: Add a pattern for Nu files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12172)
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Mar 2023 22:30:04 +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