I'm creating a new syntax file for vim and i have some doubts: 1) how can i detect the end-of-file? (i need match the expression "end [a-zA-Z][a-zA-Z0-9]*" followed of an EOF)
2) how can i associate a syntax file to a extension?
I'm creating a new syntax file for vim and i have some doubts: 1) how can i detect the end-of-file? (i need match the expression "end [a-zA-Z][a-zA-Z0-9]*" followed of an EOF)
2) how can i associate a syntax file to a extension?