]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
Add TODO, FIXME to Haskell syntax file (#8055)
authorBruno-366 <81762173+Bruno-366@users.noreply.github.com>
Thu, 17 Aug 2023 22:04:54 +0000 (00:04 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2023 22:04:54 +0000 (00:04 +0200)
Adding TODO, XXX, FIXME to Haskell syntax file #8054

runtime/syntax/haskell.vim

index 1b70b9344ace8136aa5d7dfda990313fc97a622f..b48b278084698fe890a3cb3d6b59a17ca2f78868 100644 (file)
@@ -108,6 +108,8 @@ syn match   hsLineComment      "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$" contain
 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"))