How do I make vim automatically apply c++ syntax highlight on Arduino files (.ino/.pde)?
Or how does vim syntax highlight know what is a c++ file? And how can I tell him that files that is called .ino and .pde is also c++ files.
|
How do I make vim automatically apply c++ syntax highlight on Arduino files (.ino/.pde)? Or how does vim syntax highlight know what is a c++ file? And how can I tell him that files that is called .ino and .pde is also c++ files. |
||||
|
|
|
Add something like this to
Or more correctly, to |
|||
|
|
|
You can create an autocommand as follows:
Put this into your |
|||
|
|
|
Vim searches for syntax files named
|
|||
|
|