add syntax for tpp files in vimrc
This commit is contained in:
@@ -57,6 +57,16 @@ set nowrap
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"---------------------------------------------------------------
|
||||||
|
" to use the syntax highlight of .hpp on .tpp files
|
||||||
|
"---------------------------------------------------------------
|
||||||
|
"https://beerpla.net/2008/04/02/how-to-add-a-vim-file-extension-to-syntax-highlighting/
|
||||||
|
|
||||||
|
filetype on
|
||||||
|
au BufNewFile,BufRead *.tpp set filetype=cpp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"---------------------------------------------------------------
|
"---------------------------------------------------------------
|
||||||
" pour pouvoir utiliser la norminette partout
|
" pour pouvoir utiliser la norminette partout
|
||||||
"---------------------------------------------------------------
|
"---------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user