Mercurial > vim
view runtime/compiler/dart2js.vim @ 27776:addcf70c8346 v8.2.4414
patch 8.2.4414: solidity files are not recognized
Commit: https://github.com/vim/vim/commit/97b231541d4e82fbc85e51121448d95bd43c50ad
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Fri Feb 18 13:45:55 2022 +0000
patch 8.2.4414: solidity files are not recognized
Problem: Solidity files are not recognized.
Solution: Add the *.sol pattern. (Dundar Goc, closes https://github.com/vim/vim/issues/9792)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Feb 2022 15:00:05 +0100 |
parents | d4c7b3e9cd17 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Dart to JavaScript Compiler " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 May 08 if exists("current_compiler") finish endif let current_compiler = "dart2js" 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=dart2js CompilerSet errorformat=%E%f:%l:%c:, \%-GError:\ Compilation\ failed., \%CError:\ %m, \%Z\ %#^%\\+, \%C%.%#, \%trror:\ %m, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save