Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some haskell-specific Vim settings #18

Merged
merged 1 commit into from
Sep 12, 2015

Conversation

gabebw
Copy link
Owner

@gabebw gabebw commented Sep 12, 2015

They are all from https://github.com/begriffs/haskell-vim-now/blob/705a57b9f968f374e92e884e38b076cc6a7bbf2f/.vimrc

  • Haskell syntax is managed by a plugin now
  • Add a lot of Hoogle-related mappings
  • <Leader>hl runs hlint over the current file
  • Don't run Syntastic over a file on write, since that's slow

Of note for the future: Don't use eagletmt/neco-ghc (for now?).

I'd really love to have import Control.Mon<TAB> autocomplete, but it's just not worth it:

  • The documentation is sparse
  • I think that using it requires eagletmt/ghcmod-vim, which definitely requires Shougo/vimproc.vim
  • Even after installing both of those plugins, I think I need some fancy autocomplete engine like YouCompleteMe to use it
  • Therefore, give up its minimal benefit to keep my Vim lean

@gabebw gabebw force-pushed the gbw-make-vim-better-at-haskell branch from fe3bf8c to cf5241e Compare September 12, 2015 23:16
They are all from https://github.com/begriffs/haskell-vim-now/blob/705a57b9f968f374e92e884e38b076cc6a7bbf2f/.vimrc

* Haskell syntax is managed by a plugin now
* Add a lot of Hoogle-related mappings
* `<Leader>hl` runs `hlint` over the current file
* Don't run Syntastic over a file on write, since that's slow

Of note for the futue: Don't use eagletmt/neco-ghc (for now?).

I'd really love to have `import Control.Mon<TAB>` autocomplete, but it's just
not worth it:

* The documentation is sparse
* I think that using it requires `eagletmt/ghcmod-vim`, which definitely
  requires `Shougo/vimproc.vim`
* Even after installing both of those plugins, I think I need some fancy
  autocomplete engine like YouCompleteMe to use it
* Therefore, give up its minimal benefit to keep my Vim lean
@gabebw gabebw force-pushed the gbw-make-vim-better-at-haskell branch from cf5241e to 82bd40e Compare September 12, 2015 23:18
@gabebw gabebw merged commit 82bd40e into master Sep 12, 2015
@gabebw gabebw deleted the gbw-make-vim-better-at-haskell branch September 12, 2015 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant