When opening the resin configuration file, I hope to use xml format to color the file. However, since the configuration file suffix on the server is conf, vim does not have syntax highlighting. Is there any way to specify the xml format syntax to open the file? document?
Supplement:
The current method is to copy the configuration file and change the suffix to xml to view. But I want to know if there is a less troublesome way?
Use
:setf xml
或:setfiletype xml
(complete)I recommend sublime text2 instead of VIM