FS#16803 - [vim] haskell syntax highlight bug
Attached to Project:
Arch Linux
Opened by Henrique Abreu (hgabreu) - Friday, 23 October 2009, 15:32 GMT
Last edited by Tobias Kieslich (tobias) - Friday, 23 October 2009, 15:48 GMT
Opened by Henrique Abreu (hgabreu) - Friday, 23 October 2009, 15:32 GMT
Last edited by Tobias Kieslich (tobias) - Friday, 23 October 2009, 15:48 GMT
|
Details
Description:
Vim is not highlighting haskell code correctly. Comments started in import's line are not highlighted. Additional info: vim 7.2.266-1 Steps to reproduce: 1-Create a haskell file with vim vim test.hs 2-Enable syntax highlighting :syntax on 3-Enter 'Insert' mode i 4-Type the following lines import test --comment --another comment Result: '--comment' text should be highlighted as '--another comment', but it isn't. Solution: Edit line 70 of file '/usr/share/vim/vim72/syntax/haskell.vim' as follows: syn match hsImport "\<import\>.*"he=s+6 contains=hsImportMod,hsLineComment,hsBlockComment |
This task depends upon
Closed by Tobias Kieslich (tobias)
Friday, 23 October 2009, 15:48 GMT
Reason for closing: Upstream
Additional comments about closing: This is pretty much the definition of an upstream bug. Please report it to the vim folks. Thank you!
Friday, 23 October 2009, 15:48 GMT
Reason for closing: Upstream
Additional comments about closing: This is pretty much the definition of an upstream bug. Please report it to the vim folks. Thank you!