rename color.h to colors.h

This commit is contained in:
hugogogo
2022-03-07 18:46:54 +01:00
parent 04871c2ec3
commit 70dcef77ab
3 changed files with 13 additions and 13 deletions

View File

@@ -126,16 +126,16 @@ endfunction
function! MAKEFile()
silent! 0r $HOME/.vim/templates/skeleton_makefile
endfunction
" to autofill a new color.h file
" to autofill a new colors.h file
function! COLORFile()
silent! 0r $HOME/.vim/templates/skeleton_color.h
silent! 0r $HOME/.vim/templates/skeleton_colors.h
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 color.h call COLORFile()
autocmd BufNewFile colors.h call COLORFile()