It’s not always that you get to contribute to one of the oldest Open Source software projects, but that’s exactly what happened on March 7, 2013. Bram Moolenaar was kind enough to include my CSDL syntax file to the official Vim source code repository.
Being a long-time Vim user it meant a lot to me and I’d like to thank Bram for letting me add my name to the list of contributors. I really appreciate it.
If you write CSDL, this file will help you do it in a more convenient way. Newly built Vim binaries should start including CSDL support soon, but if don’t want to wait, you can grab the CSDL syntax file from the datasift-vim repository.
CSDL syntax highlighting works automatically for .csdl files, but you can force it in the following way:
- Press Esc
- Type :syn on
- Press Enter
- Press Esc
- Type :set syntax=csdl
- Press Enter
To achieve the same effect In gVim or MacVim, select Syntax -> Show filetypes in menu and then select Syntax -> C -> CSDL.