Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
hare.vim39 linesDownload Raw Back to compiler
1vim9script2 3# Vim compiler file.4# Compiler:    Hare5# Maintainer:  Amelia Clarke <selene@perilune.dev>6# Last Change: 2026 Jan 247# Upstream:    https://git.sr.ht/~sircmpwn/hare.vim8 9if exists('g:current_compiler')10  finish11endif12g:current_compiler = 'hare'13 14if filereadable('Makefile') || filereadable('makefile')15  CompilerSet makeprg=make16else17  const makeprg = 'hare build ' .. get(g:, 'hare_makeprg_params', '-q')18  execute 'CompilerSet makeprg=' .. escape(makeprg, ' "\|')19endif20 21CompilerSet errorformat=22  \%E%o:%l:%v:\ error:\ %m,23  \%E%o:%l:%v:\ syntax\ error:\ %m,24  \%E%o:%l:%v:\ %\\%%(unexpected\ name\ %\\)%\\@=%m,25  \%C,%C\ %.%#,%C%l\ %.%#,26  \%trror:\ %o:\ %\\%%(%\\h%\\w%\\+%\\%%(::%\\h%\\w%\\+%\\)%#:\ %\\)%\\@=%m,27  \%trror:\ %m,28  \%+EAbort:\ %m%>,29  \%C%.%#,30  \%-G%.%#31 32augroup HareQuickFix33  autocmd!34  autocmd QuickFixCmdPost make hare#QuickFixPaths()35  autocmd QuickFixCmdPost lmake hare#QuickFixPaths()36augroup END37 38# vim: et sts=2 sw=2 ts=8 tw=8039 
codekingpro/portable-devtools · Team Ai