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,11 @@
function! CurrentBufferIsModule(module_name)
return EndsWith(bufname('%'), a:module_name.'.py')
endfunction
function EndsWith(string, end)
let l:should = len(a:string) - strlen(a:end)
return l:should == stridx(a:string, a:end, should)
endfunction
" vim: et:ts=4:sw=4