[Bug 928436] Re: needs actionscript syntax highlighting

saurabh 928436 at bugs.launchpad.net
Sun Jun 3 14:51:31 UTC 2012


Yes, this is a per-user fix to this problem. However, it means every
user on the system has to do this, and every time you install on a new
system you have to update this fix. Why not just include actionscript
support? It's a widely used language, certainly more widely-used than
Atlas.

On Sun, Jun 3, 2012 at 12:25 AM, pi-rho <928436 at bugs.launchpad.net> wrote:
> 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 subscribed to the bug
> report.
> 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

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

Title:
  needs actionscript syntax highlighting

Status in “vim” package in Ubuntu:
  New

Bug description:
  Actionscript syntax highlighting has been available for a while from vim.org:
  http://www.vim.org/scripts/script.php?script_id=1061

  However, it's not included by default in the vim package. Instead,
  *.as defaults to Atlas files. I'm not 100% confident, but I imagine
  there are far more people editing actionscript code than are editing
  Atlas code out there. I'm tired of having to edit
  /usr/share/vim/vimcurrent/filetype.vim every time i install vim. Can
  we change vim packaging so that it includes Actionscript and maps *.as
  to it?

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: vim 2:7.3.154+hg~74503f6ee649-2ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Tue Feb  7 11:27:43 2012
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: vim
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list