• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

language-haskell-scoped

Highlight Haskell symbols in module scope
atom-haskell
0.1.2 25,157
7
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

language-haskell-scoped package

WARNING: Uses some horrible hacks, so not at all guaranteed to work.

This is an experimental package. Once code is mature enough, it will likely be merged into language-haskell.

Highlight identifiers in current scope in Haskell sources.

image

Dependencies:

  • language-haskell
  • haskell-ghc-mod

Default style, which lightens highlight color, works relatively well only for dark themes. You can define your own in Edit → Stylesheet...

atom-text-editor::shadow {
  .known-identifier.haskell {
    -webkit-filter: brightness(100%); //disable default style 
  }
  .known-identifier.identifier.haskell {
    color: red; // set your preferred color here 
  }
  .known-identifier.tag.haskell { // Type constructors 
    color: green; // set your preferred color here 
  }
  .known-identifier.type.haskell {
    color: blue; // set your preferred color here 
  }
  .prelude.haskell { // to disable built-in Prelude highlighting 
    color: inherit !important;
  }
}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by