Skip to content

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SublimeLinter-ghc

Build Status

This linter plugin for SublimeLinter provides an interface to ghc. It will be used with files that have the "Haskell" syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

To install ghc, you can install haskell-platform which includes ghc or ghc itself. Follow the instructions on their websites to install.

haskell-platform is available on many package managers, for example brew update; brew install haskell-platform on Mac OS X.

This linter reads the diagnostics that ghc prints with -fdiagnostics-as-json, so it needs GHC 9.10 or newer. With an older ghc the linter only logs ghc: unrecognised flag: -fdiagnostics-as-json in the console; use an older release of this linter there.

Please make sure that the path to ghc is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

About

SublimeLinter 3 plugin for Haskell, using ghc -Wall.

Resources

Stars

8 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages