Hollywood plugin for Vim released

Official announcements from the Hollywood team
Post Reply
admin
Site Admin
Posts: 148
Joined: Fri Feb 12, 2010 12:21 pm

Hollywood plugin for Vim released

Post by admin »

As announced by Tom on the Hollywood mailing list:
Hi Andreas,

to avoid any hassle when editing hollywood scripts on different platforms
and being able to enjoy the comfort of a *proper* text editor, I wrote a
syntax highlighting script with basic error checking for the very best
editor ever: VIM :). See attechment.

Installation:
Extract the archive within your ".vim"-directory on linux
or "_vimfiles"-folder on Windows.

It is not deeply tested but it meets my current needs. Might be, that I
improve it over time. However, i thought, it could be useful for others,
too. So, feel free to distribute it if u like.

Feedback is welcome ;)

Credits go to:

1) the authors of the original "lua.vim" script "Marcus Aurelius
Farias" and "Carlos Augusto Teixeira Mendes" for the original LUA
syntax highlighting script.
(Though, LUA differs from Hollywood a lot more then expected)

2) the authors (unknown to me) of the ultraedit syntax highlighting
script. I conveniently borrowed Hollywood 7.0's constant and function
definitions from it.

Remarks on the highlighting:

1) In addition to the internal hollywood functions, the script also
highlights user-defined functions in case they follow the recommended
schema that those functions should starte with the prefix "p_", e.g.
p_myfucntion();

2) Highlighting Issues: Depending on your VIM colour schema, Strings or
Comments might be highlighted in a way, you don't like. (I use xterm with
black background). If so, try one of the following settings after opening
a hollywood script:

:hi link hwString MoreMsg
:hi link hwString NonText
:hi link hwString String

and for comments:

:hi link hwComment MoreMsg
:hi link hwComment NonText
:hi link hwComment Comment

Remember the setting you like and change the corresponding definition
at the bottom of the hollywood.vim file. Restart VIM. Done.

3) Should work for Vim on AmigaOS, too. However, due to her non-colour
termcap emulation it is only of minor help.

4) Feedback is welcome ;)

Cheers,
Tom
Download now available from http://www.hollywood-mal.com/
Bugala
Posts: 1168
Joined: Sun Feb 14, 2010 7:11 pm

Re: Hollywood plugin for Vim released

Post by Bugala »

Can you give comparison between Windows IDE, Amiga Editors and VIM?

What are the main differences to consider using VIM?

At least that function highlighting sounds something very useful missing from the rest (or at least Windows IDE)
nexus
Posts: 133
Joined: Sun Mar 07, 2010 11:54 am

Re: Hollywood plugin for Vim released

Post by nexus »

VIM is not an IDE, it is "just" an editor -- but a very powerful one. However, If you do not know VIM and do not attest yourself some kind of nerdyness, you most likely will not fall in love with VIM. However, I will give you a hint why VIM is such an indispensable tool:

Why, oh WHY, do those #?@! nutheads use vi?

If you feel brave go and learn VIM. It might seem hard in the beginning but it will be worthwhile in the end. Moreover, VI(M) was originally invented for AmigaOS :)

The script I wrote, basically enables VIM to highlight relevant information in Hollywood scripts (+some minor checks for syntax errors).

Cheers,
Tom
jalih
Posts: 276
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland

Re: Hollywood plugin for Vim released

Post by jalih »

nexus wrote:VIM is not an IDE, it is "just" an editor -- but a very powerful one. However, If you do not know VIM and do not attest yourself some kind of nerdyness, you most likely will not fall in love with VIM. However, I will give you a hint why VIM is such an indispensable tool:

Why, oh WHY, do those #?@! nutheads use vi?

If you feel brave go and learn VIM. It might seem hard in the beginning but it will be worthwhile in the end. Moreover, VI(M) was originally invented for AmigaOS :)
Nah... I will stick with ISPF style SPFLite for general editing and LPEX editor for PL/I code. ISPF is equally powerful and feels more natural to use for me.

I have tried VI once and it felt as friendly as Edlin... ;)
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood plugin for Vim released

Post by airsoftsoftwair »

The Hollywood plugin for Vim is now available for version 8.0 as well. Check here for the download: http://www.hollywood-mal.com/download.html

Also note that there is now a version of Vim for OS4 and it even has a MUI GUI, see here: https://amigaworld.net/modules/news/art ... oryid=8372
User avatar
Juan Carlos
Posts: 884
Joined: Mon Sep 06, 2010 1:02 pm

Re: Hollywood plugin for Vim released

Post by Juan Carlos »

One question this plugin also works with MorphOS version of vim?
The current is 8.1.1099
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hollywood plugin for Vim released

Post by airsoftsoftwair »

Sure, why not? Just give it a try.
Post Reply