Adding new stuff

This commit is contained in:
ViktorBarzin 2017-07-09 00:26:06 +03:00
parent 0074feeaf2
commit 57684cdc5c
1582 changed files with 205558 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