:Unite haskellimport
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
plugin
test
README.md

README.md

unite-haskellimport

Install

This plugin requires unite.vim and hoogle.

You need to install hoogle and generate a local database

$ cabal update && cabal install hoogle && hoogle data

Usage

Lanuch unite-haskellimport.

:Unite haskellimport

Input a function name and choose what you want to import.

choose candidates

Then, the import sentence is inserted at suitable position.

inserted import

Testing

$ themis ./test/haskellimport.vim
1..2
ok 1 - haskellimport import
ok 2 - haskellimport import_with_pragmas

# tests 2
# passes 2

Authors

  • Tatsuhiro Ujihisa
  • Itchyny

License

GPLv3 or any later version