Sunday, November 8, 2009

Using Vim for actionscript

The syntax file is here http://www.vim.org/scripts/script.php?script_id=1061.

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