*.conf
or a *.cnf
file, they just appear without syntax highlighting though Vim has anything to do it properly... Except that it waits for a *.ini
extension.To add other extension to its syntax highlighting capability, just add the following line:
au BufReadPost *.conf,*.cnf set filetype=dosini
Aucun commentaire:
Enregistrer un commentaire