Hollywood plugin for Vim released

Official announcements from the Hollywood team

Hollywood plugin for Vim released

Postby softwarefailure » Wed Jul 26, 2017 9:11 pm

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/
softwarefailure
Site Admin
 
Posts: 73
Joined: Fri Feb 12, 2010 1:21 pm

Re: Hollywood plugin for Vim released

Postby Bugala » Thu Jul 27, 2017 1:00 am

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)
Bugala
 
Posts: 645
Joined: Sun Feb 14, 2010 8:11 pm

Re: Hollywood plugin for Vim released

Postby nexus » Fri Jul 28, 2017 10:07 am

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
nexus
 
Posts: 14
Joined: Sun Mar 07, 2010 12:54 pm

Re: Hollywood plugin for Vim released

Postby jalih » Sun Aug 06, 2017 3:22 pm

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... ;)
jalih
 
Posts: 244
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland


Return to Announcements

Who is online

Users browsing this forum: No registered users and 2 guests

cron