Put it in /usr/share/vim/vim72/syntax/
Edit /usr/share/vim/vim72/filetype.vim to remove the .as filetype binding to Atlas so that vim will syntax highlight your code properly.
So the line in the file that looks like this
au BufNewFile,BufRead *.atl,*.as setf atlas
needs to be:
au BufNewFile,BufRead *.as,*.mxml setf actionscript
No comments:
Post a Comment