adding new stuff

This commit is contained in:
ViktorBarzin 2017-07-09 00:22:01 +03:00
parent f84d7183aa
commit 9ef8a96f9a
1580 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,16 @@
if exists( "g:__AL_XPT_SNIPLINE_VIM__" ) && g:__AL_XPT_SNIPLINE_VIM__ >= XPT#ver
finish
endif
let g:__AL_XPT_SNIPLINE_VIM__ = XPT#ver
let s:oldcpo = &cpo
set cpo-=< cpo+=B
let s:log = xpt#debug#Logger( 'warn' )
fun! xpt#snipline#New(elts)
if len(a:elts) == 0 || type(a:elts[0]) == type({})
let nIndent = 0
else
let nIndent = len( matchstr( a:elts[ 0 ], '\V\^ \*' ) )
endif
return { 'nIndent' : nIndent, 'elts' : a:elts }
endfunction
let &cpo = s:oldcpo