mirror of
https://github.com/neovim/neovim.git
synced 2026-01-02 17:36:56 +10:00
This reverts commits:
- 6b652a785033fd4164e049492a7327c1ed7c3e5f
- 2f689d5abde0ccddca9e20d8c93a0299bd054e32
- a025a46d4169587145fb54f04af349cd05cb6122
Several email addresses that are known to be valid caused bounces
due to an issue with my email setup. The previous commits incorrectly
marked these addresses as invalid. So revert the whole thing again.
62d8f3dab5
N/A patch:
vim-patch:2f689d5: runtime: mark more invalid email addresses
Co-authored-by: Christian Brabandt <cb@256bit.org>
27 lines
782 B
VimL
27 lines
782 B
VimL
" Vim autoload file.
|
|
" Language: Hare
|
|
" Maintainer: Amelia Clarke <selene@perilune.dev>
|
|
" Last Updated: 2024-05-10
|
|
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
|
|
|
" Attempt to find the directory for a given Hare module.
|
|
function hare#FindModule(str)
|
|
let path = substitute(trim(a:str, ':', 2), '::', '/', 'g')
|
|
let dir = finddir(path)
|
|
while !empty(path) && empty(dir)
|
|
let path = substitute(path, '/\?\h\w*$', '', '')
|
|
let dir = finddir(path)
|
|
endwhile
|
|
return dir
|
|
endfunction
|
|
|
|
" Return the value of HAREPATH if it exists. Otherwise use a reasonable default.
|
|
function hare#GetPath()
|
|
if empty($HAREPATH)
|
|
return '/usr/src/hare/stdlib,/usr/src/hare/third-party'
|
|
endif
|
|
return substitute($HAREPATH, ':', ',', 'g')
|
|
endfunction
|
|
|
|
" vim: et sts=2 sw=2 ts=8
|