Download now available from http://www.hollywood-mal.com/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
Hollywood plugin for Vim released
Hollywood plugin for Vim released
As announced by Tom on the Hollywood mailing list:
Re: Hollywood plugin for Vim released
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)
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
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
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
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.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
I have tried VI once and it felt as friendly as Edlin...
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hollywood plugin for Vim released
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
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
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Hollywood plugin for Vim released
One question this plugin also works with MorphOS version of vim?
The current is 8.1.1099
The current is 8.1.1099
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hollywood plugin for Vim released
Sure, why not? Just give it a try.