mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
28 lines
496 B
VimL
28 lines
496 B
VimL
" vim match-up - matchit replacement and more
|
|
"
|
|
" Maintainer: Andy Massimino
|
|
" Email: a@normed.space
|
|
"
|
|
|
|
" {{{1 function! matchup#misc#reload()
|
|
if get(s:, 'reload_guard', 1)
|
|
function! matchup#misc#reload() abort
|
|
let s:reload_guard = 0
|
|
|
|
for l:file in glob(fnamemodify(s:file, ':h') . '/../**/*.vim', 0, 1)
|
|
execute 'source' l:file
|
|
endfor
|
|
|
|
call matchup#init()
|
|
|
|
unlet s:reload_guard
|
|
endfunction
|
|
endif
|
|
|
|
" }}}1
|
|
|
|
let s:file = expand('<sfile>')
|
|
|
|
" vim: fdm=marker sw=2
|
|
|