Update haskell syntax file
fb2cfdc04507e179b2d18d67f7f829bfc71ea55e
1 parent
3949a0ce
.vim/syntax/haskell.vim
+3 -1
| 162 | 162 | sy match hsQQEnd "|\]" contained |
|
| 163 | 163 | sy match hsQQVarID "\[\$\(.\&[^|]\)*|" contained |
|
| 164 | 164 | sy match hsQQVarIDNew "\[\(.\&[^|]\)*|" contained |
|
| 165 | 165 | ||
| 166 | 166 | " Debugging functions from the standard prelude. |
|
| 167 | - | syn keyword hsDebug undefined error trace |
|
| 167 | + | syn keyword hsDebug trace traceM traceShowM |
|
| 168 | + | syn keyword hsUndefined undefined error |
|
| 168 | 169 | ||
| 169 | 170 | " C Preprocessor directives. Shamelessly ripped from c.vim and trimmed |
|
| 170 | 171 | " First, see whether to flag directive-like lines or not |
|
| 171 | 172 | if (!exists("hs_allow_hash_operator")) |
|
| 172 | 173 | syn match cError display "^\s*\(%:\|#\).*$" |
| 234 | 235 | ||
| 235 | 236 | hi def link hsDelimTypeExport hsType |
|
| 236 | 237 | hi def link hsType Type |
|
| 237 | 238 | ||
| 238 | 239 | hi def link hsDebug Debug |
|
| 240 | + | hi def link hsUndefined Keyword |
|
| 239 | 241 | ||
| 240 | 242 | hi def link cCppString hsString |
|
| 241 | 243 | hi def link cCommentStart hsComment |
|
| 242 | 244 | hi def link cCommentError hsError |
|
| 243 | 245 | hi def link cCommentStartError hsError |