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>
62 lines
1.4 KiB
VimL
62 lines
1.4 KiB
VimL
" Vim filetype plugin.
|
|
" Language: Hare
|
|
" Maintainer: Amelia Clarke <selene@perilune.dev>
|
|
" Last Updated: 2024 Oct 04
|
|
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
let s:cpo_save = &cpo
|
|
set cpo&vim
|
|
|
|
" Formatting settings.
|
|
setlocal comments=://
|
|
setlocal commentstring=//\ %s
|
|
setlocal formatlistpat=^\ \\?-\
|
|
setlocal formatoptions+=croqnlj/ formatoptions-=t
|
|
|
|
" Search for Hare modules.
|
|
setlocal include=^\\s*use\\>
|
|
setlocal includeexpr=hare#FindModule(v:fname)
|
|
setlocal isfname+=:
|
|
setlocal suffixesadd=.ha
|
|
|
|
" Add HAREPATH to the default search paths.
|
|
setlocal path-=/usr/include,,
|
|
let &l:path .= ',' .. hare#GetPath() .. ',,'
|
|
|
|
let b:undo_ftplugin = 'setl cms< com< flp< fo< inc< inex< isf< pa< sua< mp<'
|
|
|
|
" Follow the Hare style guide by default.
|
|
if get(g:, 'hare_recommended_style', 1)
|
|
setlocal noexpandtab
|
|
setlocal shiftwidth=0
|
|
setlocal softtabstop=0
|
|
setlocal tabstop=8
|
|
setlocal textwidth=80
|
|
let b:undo_ftplugin .= ' et< sts< sw< ts< tw<'
|
|
endif
|
|
|
|
augroup hare.vim
|
|
autocmd!
|
|
|
|
" Highlight whitespace errors by default.
|
|
if get(g:, 'hare_space_error', 1)
|
|
autocmd InsertEnter * hi link hareSpaceError NONE
|
|
autocmd InsertLeave * hi link hareSpaceError Error
|
|
endif
|
|
augroup END
|
|
|
|
if !exists('current_compiler')
|
|
let b:undo_ftplugin .= "| compiler make"
|
|
compiler hare
|
|
endif
|
|
|
|
let &cpo = s:cpo_save
|
|
unlet s:cpo_save
|
|
|
|
" vim: et sts=2 sw=2 ts=8
|