I am creating a new filetype for arduino files in vim.
I looked into the ftdetect documentation and it is specified that a new file with the following content inside the .vim/ftdetect/
folder should be created
au BufRead,BufNewFile *.mine set filetype=mine
In the above example both the file extension and filetype are same and the file is created with the name mine.vim
But for arduino the file extension (.ino
and pde
) is different from the filetype (arduino
)
My question is what should be the filename in this case. Should it be ino
or arduino
?