# How to generate a syntax highlighting file for vim from a syntax file for notepad++?

I have to use a very specific software with its own syntax and file format: .htc.

I have been supplied a .xml and .lang that can be used for Notepad++ and gedit to support syntax highlighting but no such file for Vim.

Is there a way I can convert/import this to VIM?

• Unfortunately this answer might be a bad news for you. TL;DR version: Vim syntax file are very specifics to vim and relies on vimscript language so it's really a pain to convert or import from another editor. – statox Sep 11 '15 at 14:01
• It's often not that difficult to program basic syntax highlighting for most file types. – Martin Tournoij Sep 11 '15 at 15:25
• I'm not sure if my comment was clear: the pain I was talking about was from the "automatic" conversion, not from writing the file manually from scratch which is as Carpetsmoker said pretty accessible. – statox Sep 11 '15 at 15:59
• @statox et al, It would be wonderful if you guys could "answer" an example of a syntax in both formats... – JJoao Sep 30 '15 at 16:12