tests: move .cache to build, rename test/_utils.vim

This commit is contained in:
Daniel Hahler authored and Dave Halter committed 2018-04-19 21:55:19 +02:00
1 parent 1c3078e9f9
commit 7894b38c0c
5 files changed
+5 -5

No files matched your search

+11
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