Mercurial > vim
view runtime/compiler/go.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 | 1e8ebf870720 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Go " Maintainer: David Barnett (https://github.com/google/vim-ft-go) " Last Change: 2014 Aug 16 if exists('current_compiler') finish endif let current_compiler = 'go' if exists(':CompilerSet') != 2 command -nargs=* CompilerSet setlocal <args> endif let s:save_cpo = &cpo set cpo-=C CompilerSet makeprg=go\ build CompilerSet errorformat= \%-G#\ %.%#, \%A%f:%l:%c:\ %m, \%A%f:%l:\ %m, \%C%*\\s%m, \%-G%.%# let &cpo = s:save_cpo unlet s:save_cpo " vim: sw=2 sts=2 et