Difference between revisions of "Vim"

From HaskellWiki
Jump to: navigation, search
(remove custom snippets)
Line 5: Line 5:
   
 
== List of Plugins ==
 
== List of Plugins ==
* [https://github.com/neovimhaskell/haskell-vim haskell-vim]
+
* [https://github.com/neovimhaskell/haskell-vim haskell-vim] Quote from [https://blog.jez.io/haskell-development-with-neovim/]: "It’s the filetype plugin for Haskell that should ship with Vim."
Quote from [https://blog.jez.io/haskell-development-with-neovim/]:
 
<blockquote>
 
It’s the filetype plugin for Haskell that should ship with Vim.
 
</blockquote>
 
   
 
* [https://github.com/chrisdone/hindent Hindent] Haskell pretty printer
 
* [https://github.com/chrisdone/hindent Hindent] Haskell pretty printer

Revision as of 20:06, 15 March 2019


Plugins

List of Plugins

  • haskell-vim Quote from [1]: "It’s the filetype plugin for Haskell that should ship with Vim."
  • Ale (Asynchronous Linting Engine)

ALE (Asynchronous Lint Engine) is a plugin for providing linting (checking syntax and semantics) in NeoVim 0.2.0+ and Vim 8 while you edit your text files, and acts as a Vim Language Server Protocol client.

Comes with linters cabal_ghc, ghc, ghc_mod, hdevtools, hie, hlint, stack_build, stack_ghc

hdevtools is a command line program powered by the GHC API, that provides services for Haskell development. hdevtools works by running a persistent process in the background, so that your Haskell modules remain in memory, instead of having to reload everything each time you change only one file. This is just like :reload in GHCi - with hdevtools you get the speed of GHCi as well as tight integration with your editor.

This is the Vim plugin that integrates Vim with hdevtools.