oni icon indicating copy to clipboard operation
oni copied to clipboard

Improve Haskell Syntax Highlighting.

Open YellowOnion opened this issue 8 years ago • 3 comments

Haskell Syntax highlighting seems dull.

Currently all of these are one colour: functions/variables (definitions and use), brackets, types. As well as operators and keywords are also the same colour.

There only seems to be a total of 5 colours on screen

Haskell's "lack" of liveliness is probably related to the fact that functions and variables are the same thing syntactically.

Here is a comparison between Spacemacs and Oni. image

Also, Oni reminds me of when I used gVim, so it could be an upstream issue.

YellowOnion avatar Sep 03 '18 15:09 YellowOnion

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Sep 03 '18 15:09 oni-bot

Are you using any Haskell syntax highlighting plugin for vim or depending solely on Oni's default one?

badosu avatar Sep 03 '18 16:09 badosu

Another point is I'm pretty sure Oni isn't bundled with a textmate grammar for haskell which would provide syntax highlighting as well -> another good first issues for anyone interested would essentially be copy pasting a file into the extensions/haskell and adding the path in onis default config's dir like was done in #2539

akinsho avatar Sep 04 '18 07:09 akinsho