myApp.jade.html
. This breaks the basic syntax highlighting mechanism based on file extension. Thankfully, we can teach Vim to handle these weird extensions. Here is how I set it up in my ~/.vimrc
:
Bundle 'digitaltoad/vim-jade' au BufNewFile,BufRead,BufReadPost *.jade.html set filetype=jade
Note: I've shared my dotfiles on Github: https://github.com/PEM--/dotfiles
Aucun commentaire:
Enregistrer un commentaire