aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-26 07:11:50 +0800
committerGitHub <noreply@github.com>2024-05-26 07:11:50 +0800
commit3d39ea3ea9b6e66640e59731d155d731218e7e62 (patch)
tree8610444deb1748dbb54eb1897f3fc3397241ba7d /runtime/compiler
parenteaaf3d9048f37b2bf5914d34f7348a1ba6ebe250 (diff)
downloadrneovim-3d39ea3ea9b6e66640e59731d155d731218e7e62.tar.gz
rneovim-3d39ea3ea9b6e66640e59731d155d731218e7e62.tar.bz2
rneovim-3d39ea3ea9b6e66640e59731d155d731218e7e62.zip
vim-patch:9.1.0442: hare runtime files outdated (#29011)
Problem: hare runtime files outdated Solution: runtime(hare): update hare.vim to match upstream (Amelia Clarke) closes: vim/vim#14836 https://github.com/vim/vim/commit/35dfe58a540e2fb0eff953630f8e4fcbf4bc26ca Co-authored-by: Amelia Clarke <selene@perilune.dev>
Diffstat (limited to 'runtime/compiler')
-rw-r--r--runtime/compiler/hare.vim23
1 files changed, 12 insertions, 11 deletions
diff --git a/runtime/compiler/hare.vim b/runtime/compiler/hare.vim
index c98bbb9c63..33edb3a281 100644
--- a/runtime/compiler/hare.vim
+++ b/runtime/compiler/hare.vim
@@ -1,28 +1,29 @@
-" Vim compiler file
-" Compiler: Hare Compiler
-" Maintainer: Amelia Clarke <me@rsaihe.dev>
-" Last Change: 2022-09-21
-" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
+" Vim compiler file.
+" Compiler: Hare
+" Maintainer: Amelia Clarke <selene@perilune.dev>
+" Last Change: 2024-05-23
+" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
-if exists("g:current_compiler")
+if exists('current_compiler')
finish
endif
-let g:current_compiler = "hare"
+let current_compiler = 'hare'
let s:cpo_save = &cpo
set cpo&vim
-if filereadable("Makefile") || filereadable("makefile")
+if filereadable('Makefile') || filereadable('makefile')
CompilerSet makeprg=make
else
CompilerSet makeprg=hare\ build
endif
CompilerSet errorformat=
- \Error\ %f:%l:%c:\ %m,
- \Syntax\ error:\ %.%#\ at\ %f:%l:%c\\,\ %m,
+ \%f:%l:%c:\ syntax\ error:\ %m,
+ \%f:%l:%c:\ error:\ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
-" vim: tabstop=2 shiftwidth=2 expandtab
+
+" vim: et sts=2 sw=2 ts=8