dhall-lang / dhall-to-cabal

Compile Dhall expressions to Cabal files
MIT License
100 stars 19 forks source link

Syntax highlighting #159

Closed robbiemcmichael closed 5 years ago

robbiemcmichael commented 5 years ago

Sets syntax highlighting for Dhall files using .gitattributes, refer to https://github.com/dhall-lang/dhall-lang/pull/533 for details.

This also updates the examples in the readme to use the relevant language for syntax highlighting.

quasicomputational commented 5 years ago

Repurposing the Haskell highlighter is definitely shonky, but the results look OK enough and it's a one line hack that brings decent benefits. Thanks!