Skip to content

Commit 1e96aba

Browse files
committed
Add indentation disabling documentation
1 parent 7ebaed4 commit 1e96aba

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ Disabling Template Haskell and Quasiquoting syntax is possible by setting
6464

6565
To configure indentation in `haskell-vim` you can use the following variables to change indentation depth, just add the according line to your `.vimrc`.
6666

67+
Given the current problems with indentation (being solved in the *indentation*
68+
branch) you can disable the indentation by setting `g:haskell_indent_disable` to
69+
`1`.
70+
71+
Additionally you can use the
72+
[vim-hindent](https://github.com/alx741/vim-hindent) plugin to achieve automatic
73+
indentation using *hindent*.
74+
6775
#### Haskell
6876

6977
* `let g:haskell_indent_if = 3`

doc/haskell-vim.txt

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ INDENTATION *haskell-vim-indentation
7676
To configure indentation in `haskell-vim` you can use the following variables to
7777
change indentation depth, just add the according line to your `.vimrc`.
7878

79+
You can disable the indentation by setting `g:haskell_indent_disable` to `1`.
80+
7981
Haskell~
8082

8183
* |haskell-vim-indent-if|

0 commit comments

Comments
 (0)