zee-editor / zee

A modern text editor for the terminal written in Rust
Apache License 2.0
1.48k stars 42 forks source link

[Bugfix] Highlight Cabal with Haskell #94

Open kevinmatthes opened 2 years ago

kevinmatthes commented 2 years ago

Just as Cargo is the default package and build manager for Rust, Cabal is the one for Haskell. This Pull Request adds highlighting support for Cabal-related configuration files using the already supported Haskell Tree-Sitter and its highlights.scm.

kevinmatthes commented 2 years ago

This suggestion failed due to a new Clippy lint which was introduced by Rust 1.63.0 a few days ago. I am going to push a fix.

kevinmatthes commented 2 years ago

There had been a bugfix in the Haskell Tree-Sitter. Hence, I added it to this Pull Request, as well.