neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

hare.vim (574B)


      1 " Vim compiler file.
      2 " Compiler:    Hare
      3 " Maintainer:  Amelia Clarke <selene@perilune.dev>
      4 " Last Change: 2024-05-23
      5 " Upstream:    https://git.sr.ht/~sircmpwn/hare.vim
      6 
      7 if exists('current_compiler')
      8  finish
      9 endif
     10 let current_compiler = 'hare'
     11 
     12 let s:cpo_save = &cpo
     13 set cpo&vim
     14 
     15 if filereadable('Makefile') || filereadable('makefile')
     16  CompilerSet makeprg=make
     17 else
     18  CompilerSet makeprg=hare\ build
     19 endif
     20 
     21 CompilerSet errorformat=
     22  \%f:%l:%c:\ syntax\ error:\ %m,
     23  \%f:%l:%c:\ error:\ %m,
     24  \%-G%.%#
     25 
     26 let &cpo = s:cpo_save
     27 unlet s:cpo_save
     28 
     29 " vim: et sts=2 sw=2 ts=8