Mode = function () {
    this.HighlightRules = CabalHighlightRules;
    this.foldingRules = new FoldMode();
    this.$behaviour = this.$defaultBehaviour;
}
Haskell Cabal files mode (https://www.haskell.org/cabal/users-guide/developing-packages.html)