jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
189 stars 61 forks source link

Updated cabal instructions in the Readme.me #127

Closed elland closed 3 years ago

elland commented 3 years ago

Hullo! I'm trying to expand the syntax support to add a new language, and I noticed that the readme points to cabal install, which I think no longer works as expects, defaulting to v2-install, I believe the command needed would be v1-install (at least that's what worked for me).

jgm commented 3 years ago

You don't say what didn't work. I just tried it and cabal install worked fine for me.

jgm commented 3 years ago

I did push a small simplification to the instructions.

elland commented 3 years ago

@jgm my bad. I was trying to install it to test if my changes to add Swift support worked, and cabal install -fexecutable failed inside skylighting-core, with cabal 3.4.0.0.

Weirdly enough, I tried again now, and it worked. 👍 I'll close the PR. Thanks!