Bug#648053: vim-runtime: Broken syntax highlighting for multi-line Haskell comments

Connor Lane Smith cls at lubutu.com
Tue Nov 8 16:53:40 UTC 2011


Package: vim-runtime
Version: 2:7.3.346-1
Severity: normal

Hi,

The syntax highlighting for multi-line comments in Haskell is broken. There are
3 situations in which some of the text in the comment stops being highlighted as
as a comment and is highlighted as though it were Haskell code. These situations
occur only when the multi-line comment extends beyond the screen.

The first instance is that when you delete one or more lines from the comment,
the lines which become visible at the bottom of the screen are incorrectly
highlighted.

The second is that if you delete any text outside the comment (yanking it as a
result), and then paste it within the comment, all text on that line and below
becomes incorrectly highlighted. This does not happen if you just yank the text:
it must be deleted.

The third is that if the comment's "{-" has not been on screen, the part of the
comment which is visible is incorrectly highlighted. Once the "{-" has been on
screen the comment will be highlighted correctly again.

In both cases the highlighting can be corrected by refreshing (^L). None of
these situations occur for multi-line comments in C.

Thanks,
cls

-- System Information:
Debian Release: 6.0.3
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim       2:7.3.346-1
ii  vim-tiny  2:7.3.346-1

vim-runtime suggests no packages.

-- no debconf information





More information about the pkg-vim-maintainers mailing list