Skip to content

ujihisa/unite-haskellimport

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

:Unite haskellimport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published