view runtime/compiler/dartfmt.vim @ 32844:5d3c0f914f26 v9.0.1734

patch 9.0.1734: :runtime completion fails for multiple args Commit: https://github.com/vim/vim/commit/be5cdd1d634c2dfc7e415499fb18f4d246a8721c Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Aug 17 23:48:58 2023 +0200 patch 9.0.1734: :runtime completion fails for multiple args Problem: :runtime completion fails for multiple args Solution: Make it work closes: #12616 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 18 Aug 2023 00:00:05 +0200
parents d4c7b3e9cd17
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Dart Formatter
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2019 May 08

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

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=dartfmt
CompilerSet errorformat=%Eline\ %l\\,\ column\ %c\ of\ %f:\ %m,
		       \%Z\ %\\{3}│\ %\\+^%\\+,
		       \%C%.%#,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save