add tests.hpp
This commit is contained in:
@@ -130,12 +130,17 @@ endfunction
|
||||
function! COLORFile()
|
||||
silent! 0r $HOME/.vim/templates/skeleton_colors.h
|
||||
endfunction
|
||||
" to autofill a new tests.hpp file
|
||||
function! TESTSFile()
|
||||
silent! 0r $HOME/.vim/templates/skeleton_tests.hpp
|
||||
endfunction
|
||||
|
||||
" autofill calls
|
||||
autocmd BufNewFile *.hpp call HPPFile()
|
||||
autocmd BufNewFile *.cpp if @% == 'main.cpp' | call MAINCPPFile() | else | call CPPFile()
|
||||
autocmd BufNewFile Makefile call MAKEFile()
|
||||
autocmd BufNewFile colors.h call COLORFile()
|
||||
autocmd BufNewFile testss.hpp call TESTSFile()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user