Page 1 of 1

Hollywood plugin for Vim released

Posted: Wed Jul 26, 2017 9:11 pm
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/

Re: Hollywood plugin for Vim released

Posted: Thu Jul 27, 2017 1:00 am
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)

Re: Hollywood plugin for Vim released

Posted: Fri Jul 28, 2017 10:07 am
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

Re: Hollywood plugin for Vim released

Posted: Sun Aug 06, 2017 3:22 pm
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... ;)

Re: Hollywood plugin for Vim released

Posted: Mon May 27, 2019 7:19 pm
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

Re: Hollywood plugin for Vim released

Posted: Tue May 28, 2019 6:36 am
by Juan Carlos
One question this plugin also works with MorphOS version of vim?
The current is 8.1.1099

Re: Hollywood plugin for Vim released

Posted: Tue May 28, 2019 5:48 pm
by airsoftsoftwair
Sure, why not? Just give it a try.