Skip to content

Commit 0ee95b3

Browse files
committedNov 12, 2016
Add disable_TH documentation
1 parent efa9b20 commit 0ee95b3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static`
5757
`haskell-vim` has an opinionated highlighting. If you do not like that you can switch to
5858
a more traditional mode by setting `g:haskell_classic_highlighting` to `1`.
5959

60+
Disabling Template Haskell and Quasiquoting syntax is possible by setting
61+
`g:haskell_disable_TH` to `1`.
62+
6063
### Indentation
6164

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

‎doc/haskell-vim.txt

+5
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ the according variable to 1 in the `.vimrc`.
3939
* |haskell-vim-enable-typeroles|
4040
* |haskell-vim-enable-static-pointers|
4141
* |haskell-vim-classic-highlighting|
42+
* |haskell-vim-disable-TH|
4243

4344
*haskell-vim-enable-quantification*
4445
`g:haskell_enable_quantification` Enables highlighting of `forall`.
@@ -65,6 +66,10 @@ the according variable to 1 in the `.vimrc`.
6566
switch to a more traditional mode by setting `g:haskell_classic_highlighting`
6667
to 1.
6768

69+
*haskell-vim-disable-TH*
70+
Disabling Template Haskell and Quasiquoting syntax is possible by setting
71+
`g:haskell_disable_TH` to `1`.
72+
6873
===============================================================================
6974
INDENTATION *haskell-vim-indentation*
7075

0 commit comments

Comments
 (0)
Please sign in to comment.