diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2016-07-19 10:09:54 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-07-19 10:09:54 +0200 | 
| commit | 11f34624aa32ac72dc65e46ea9badb4b16a0edd1 (patch) | |
| tree | 63c50a215fe4a67e4223c19b4b1dbb9747c14ffd /syntax/haskell.vim | |
| parent | 1422f7a75ce0b382d601238c5979b04473b9021e (diff) | |
| download | vim-polyglot-11f34624aa32ac72dc65e46ea9badb4b16a0edd1.tar.gz vim-polyglot-11f34624aa32ac72dc65e46ea9badb4b16a0edd1.zip  | |
Updatev2.11.3
Diffstat (limited to '')
| -rw-r--r-- | syntax/haskell.vim | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/syntax/haskell.vim b/syntax/haskell.vim index c4e8ffb8..5133899b 100644 --- a/syntax/haskell.vim +++ b/syntax/haskell.vim @@ -13,6 +13,7 @@ elseif exists("b:current_syntax")    finish  endif +syn spell notoplevel  syn match haskellRecordField contained containedin=haskellBlock    \ "[_a-z][a-zA-Z0-9_']*\(,\s*[_a-z][a-zA-Z0-9_']*\)*\(\s*::\|\n\s\+::\)"    \ contains= @@ -60,9 +61,9 @@ syn keyword haskellConditional if then else  syn match haskellNumber "\<[0-9]\+\>\|\<0[xX][0-9a-fA-F]\+\>\|\<0[oO][0-7]\+\>\|\<0[bB][10]\+\>"  syn match haskellFloat "\<[0-9]\+\.[0-9]\+\([eE][-+]\=[0-9]\+\)\=\>"  syn match haskellSeparator  "[,;]" -syn region haskellParens matchgroup=haskellDelimiter start="(" end=")" contains=TOP,haskellTypeSig -syn region haskellBrackets matchgroup=haskellDelimiter start="\[" end="]" contains=TOP,haskellTypeSig -syn region haskellBlock matchgroup=haskellDelimiter start="{" end="}" contains=TOP +syn region haskellParens matchgroup=haskellDelimiter start="(" end=")" contains=TOP,haskellTypeSig,@Spell +syn region haskellBrackets matchgroup=haskellDelimiter start="\[" end="]" contains=TOP,haskellTypeSig,@Spell +syn region haskellBlock matchgroup=haskellDelimiter start="{" end="}" contains=TOP,@Spell  syn keyword haskellInfix infix infixl infixr  syn keyword haskellBottom undefined error  syn match haskellOperators "[-!#$%&\*\+/<=>\?@\\^|~:.]\+\|\<_\>"  | 
