Mercurial > vim
changeset 32850:8dc97057392b
Add TODO, FIXME to Haskell syntax file (#8055)
Commit: https://github.com/vim/vim/commit/817db406bb12b9fd5df25d4cda392b515d44ee05
Author: Bruno-366 <81762173+Bruno-366@users.noreply.github.com>
Date: Fri Aug 18 00:04:54 2023 +0200
Add TODO, FIXME to Haskell syntax file (https://github.com/vim/vim/issues/8055)
Adding TODO, XXX, FIXME to Haskell syntax file https://github.com/vim/vim/issues/8054
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 18 Aug 2023 00:15:06 +0200 |
parents | e227a1c3c3ac |
children | 8e9fbfc90732 |
files | runtime/syntax/haskell.vim |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/syntax/haskell.vim +++ b/runtime/syntax/haskell.vim @@ -108,6 +108,8 @@ syn match hsLineComment "---*\([^ syn region hsBlockComment start="{-" end="-}" contains=hsBlockComment,@Spell syn region hsPragma start="{-#" end="#-}" +syn keyword hsTodo contained FIXME TODO XXX NOTE + " C Preprocessor directives. Shamelessly ripped from c.vim and trimmed " First, see whether to flag directive-like lines or not if (!exists("hs_allow_hash_operator"))