mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:b2e1fee72c45
runtime(haskell): allow TODO keywords in comments
closes: vim/vim#14319
b2e1fee72c
Co-authored-by: Enrico Maria De Angelis <enricomaria.dean6elis@gmail.com>
			
			
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| " Vim syntax file | " Vim syntax file | ||||||
| " Language:		Haskell | " Language:		Haskell | ||||||
| " Maintainer:		Haskell Cafe mailinglist <haskell-cafe@haskell.org> | " Maintainer:		Haskell Cafe mailinglist <haskell-cafe@haskell.org> | ||||||
| " Last Change:		2020 Oct 4 by Marcin Szamotulski <profunctor@pm.me> | " Last Change:		2024 Mar 28 by Enrico Maria De Angelis <enricomaria.dean6elis@gmail.com> | ||||||
| " Original Author:	John Williams <jrw@pobox.com> | " Original Author:	John Williams <jrw@pobox.com> | ||||||
| " | " | ||||||
| " Thanks to Ryan Crumley for suggestions and John Meacham for | " Thanks to Ryan Crumley for suggestions and John Meacham for | ||||||
| @@ -104,8 +104,8 @@ endif | |||||||
|  |  | ||||||
|  |  | ||||||
| " Comments | " Comments | ||||||
| syn match   hsLineComment      "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$" contains=@Spell | syn match   hsLineComment      "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$" contains=hsTodo,@Spell | ||||||
| syn region  hsBlockComment     start="{-"  end="-}" contains=hsBlockComment,@Spell | syn region  hsBlockComment     start="{-"  end="-}" contains=hsBlockComment,hsTodo,@Spell | ||||||
| syn region  hsPragma	       start="{-#" end="#-}" | syn region  hsPragma	       start="{-#" end="#-}" | ||||||
|  |  | ||||||
| syn keyword hsTodo	        contained FIXME TODO XXX NOTE | syn keyword hsTodo	        contained FIXME TODO XXX NOTE | ||||||
| @@ -164,6 +164,7 @@ hi def link hsLiterateComment		  hsComment | |||||||
| hi def link hsBlockComment		  hsComment | hi def link hsBlockComment		  hsComment | ||||||
| hi def link hsLineComment			  hsComment | hi def link hsLineComment			  hsComment | ||||||
| hi def link hsComment			  Comment | hi def link hsComment			  Comment | ||||||
|  | hi def link hsTodo			  Todo | ||||||
| hi def link hsPragma			  SpecialComment | hi def link hsPragma			  SpecialComment | ||||||
| hi def link hsBoolean			  Boolean | hi def link hsBoolean			  Boolean | ||||||
| hi def link hsType			  Type | hi def link hsType			  Type | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Clason
					Christian Clason