I'm using NERD Commenter. I want to add a new filetype to it. In the latest version, the filetypes definitions start in line 69. I want to add delimiters for .pde (Arduino). Since .pde files follow the same style as C++, I'm just copying the C++ line (line 115) and changing the extension. It looks like this:
....
....
\ 'pde': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
....
....
And that seems right. However, I cannot get it to work when I open a .pde file. Instead of using '//', it uses '#'. Am I missing something?
Thanks!
UPDATE: It seems I'm doing it write. Look at the commit for when they added commenting support for gsp. They are just doing the same as me. Hmmm....