updating vim

This commit is contained in:
ViktorBarzin 2017-05-21 12:14:33 +03:00
commit 00a9e7d96b
1055 changed files with 126840 additions and 0 deletions

View file

@ -0,0 +1,18 @@
if exists( "g:__AL_XPT_NG_VIM__" ) && g:__AL_XPT_NG_VIM__ >= XPT#ver
finish
endif
let g:__AL_XPT_NG_VIM__ = XPT#ver
let s:oldcpo = &cpo
set cpo-=< cpo+=B
let s:priorities = XPT#priorities
fun! xpt#ng#SetFiletypeDetector(funName)
if !exists("b:xptemplateData")
call XPTemplateInit()
endif
let x = b:xptemplateData
let prio = get( x.snipFileScope, 'priority', s:priorities.lang )
if prio <= x.ftdetector.priority
let x.ftdetector = { 'priority' : prio, 'func':function( a:funName ) }
endif
endfunction
let &cpo = s:oldcpo