How to get vim to parse .hws files with syntaxes checking

Find quick help here to get you started with Hollywood
Post Reply
MarisaG1967
Posts: 24
Joined: Sat Jun 22, 2024 4:15 am
Location: South San Francisco, CA
Contact:

How to get vim to parse .hws files with syntaxes checking

Post by MarisaG1967 »

When exiting C and perl code I get nicely done coloring and syntaxes highlighting and indentation. I thought I heard that Hollywood supported that but I don't see it happening. I'm on Ubuntu 24.04...
--- https://amigacity.xyz - Website for all things related to the Amiga
--- https://hollywood.retro-os.live - Fan site for the Hollywood programming environment
--- https://discord.gg/ExmkwrV8ZA - Discord for Hollywood fans
Flinx
Posts: 342
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: How to get vim to parse .hws files with syntaxes checking

Post by Flinx »

At least on my Mint the syntax highlighting works, but without indentation. And it needs the correct upper case characters (not if but If).
Try it on Ubuntu 25.
MarisaG1967
Posts: 24
Joined: Sat Jun 22, 2024 4:15 am
Location: South San Francisco, CA
Contact:

Re: How to get vim to parse .hws files with syntaxes checking

Post by MarisaG1967 »

Hmm... 🤔
--- https://amigacity.xyz - Website for all things related to the Amiga
--- https://hollywood.retro-os.live - Fan site for the Hollywood programming environment
--- https://discord.gg/ExmkwrV8ZA - Discord for Hollywood fans
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: How to get vim to parse .hws files with syntaxes checking

Post by plouf »

try this reported modification in post n1 here
-> viewtopic.php?t=1673
Christos
User avatar
emeck
Posts: 191
Joined: Fri Apr 03, 2015 3:17 pm

Re: How to get vim to parse .hws files with syntaxes checking

Post by emeck »

@MarisaG1967

Syntax highlighting from Hollywood works fine here in Vim. Using Debian Trixie (last week I updated from Bookworm); I don't remember having to enable to make it work.

You can also try SciTE, which has Hollywood support too (it can also run your script from the editor), but you have to enable it 'cause its "off" by default:
http://forums.hollywood-mal.com/viewtop ... b102d0a472
PowerBook 5.8 MorphOS 3.18
Mac Mini MorphOS 3.18
Post Reply