1. use `au! BufNewFile,BufRead *.applescript setf applescript`. .scpt is 
compiled applescript file extension.

On Dec 19, 2011, at 12:51 AM, MacVlad wrote:

> Hello!
> 
> 
> I want to add a syntax file for AppleScript to MacVim.
> I have found one at http://www.vim.org/scripts/script.php?script_id=1736,
> that I copied in ~/.vim/syntax AND in /Applications/MacVim.app/
> Contents/Resources/vim/runtime/syntax, but AppleScript doesn't appear
> under the menu "Syntax" in MacVim.
> 
> After searching the group's discussions I have added the line
> 
>     au! BufNewFile,BufRead *.scpt setf applescript
> 
> in my ~/.vimrc... but this doesn't help either. :-(
> 
> Have I missed something?
> Or is another way to do this?
> 
> Thanks!
> 
> 
> Kind regards,
> Vlad Ghitulescu
> 
> -- 
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to