create ~/.vim/ftdetect/as.vim with the following content:

augroup FileTypeDetect
        au BufRead *.as               set filetype=actionscript
augroup END

and place the syntax that you referenced at:

~/.vim/syntax/actionscript.vim

(reference :help new-filetype)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/928436

Title:
  needs actionscript syntax highlighting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/928436/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to