I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,26 @@
let s:attached = v:false
"
" vsnip_integ#integration#attach
"
" TODO: improve initialization.
"
function! vsnip_integ#integration#attach() abort
if s:attached
return
endif
let s:attached = v:true
for l:name in keys(vsnip_integ#detection#definition())
try
if vsnip_integ#detection#exists(l:name)
call vsnip_integ#integration#{l:name}#attach()
endif
catch /.*/
if g:vsnip_integ_debug
echomsg string([v:exception, v:throwpoint])
endif
endtry
endfor
endfunction