diff --git a/config_files/.vimrc b/config_files/.vimrc index 336d6a6..456f413 100644 --- a/config_files/.vimrc +++ b/config_files/.vimrc @@ -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 "---------------------------------------------------------------