I am using the vim-snipmate addon with these snippets.
I am currently in the process of creating a snippet file for Arduino. I realized that all the snippets for the c language also holds good for Arduino.
Instead of just copy pasting them, I am thinking of including the entire c file and then just add Arduino specific parts.
So my question is, is it possible to include snippets from other file into your snippet file?
(I found the answer to this question, after searching the documentation of the snipmate Plugin)
I can’t include a snippet file in another snippet file, but I can include more than one snippet for a certain file type. I have declared the following in my .vimrc now and it works.
I am using this with the arduino snippets that I created.