2014-06-17 18:32:44 +00:00
|
|
|
Haskell Syntax/Indentation
|
|
|
|
==========================
|
|
|
|
|
2014-06-17 21:03:53 +00:00
|
|
|
I was unhappy with the Haskell scripts that are
|
2014-06-17 18:32:44 +00:00
|
|
|
shipped with vim, therefore I decided to make my
|
2014-06-17 21:03:53 +00:00
|
|
|
own based on [idris-vim][].
|
2014-06-17 18:32:44 +00:00
|
|
|
|
|
|
|
I hope you find this useful.
|
2014-06-17 20:28:58 +00:00
|
|
|
|
|
|
|
![Screenshot](http://raichoo.github.io/images/haskell-vim.png)
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
I recommend using [Pathogen][] for installation. Simply clone
|
|
|
|
this repo into your `~/.vim/bundle` directory and you are ready to go.
|
|
|
|
|
|
|
|
cd ~/.vim/bundle
|
|
|
|
git clone https://github.com/raichoo/haskell-vim.git
|
|
|
|
|
|
|
|
### Manual Installation
|
|
|
|
|
|
|
|
Copy content into your `~/.vim` directory.
|
|
|
|
|
|
|
|
Be sure that the following lines are in your
|
|
|
|
`.vimrc`
|
|
|
|
|
|
|
|
|
|
|
|
syntax on
|
|
|
|
filetype on
|
|
|
|
filetype plugin indent on
|
|
|
|
|
2014-06-17 20:29:59 +00:00
|
|
|
[Pathogen]: https://github.com/tpope/vim-pathogen
|
2014-06-17 21:03:53 +00:00
|
|
|
[idris-vim]: https://github.com/idris-hackers/idris-vim
|