Package: vim-puppet
Version: 3.2.4-1
Severity: minor

In the line

    include apache2

the digit 2 is highlighted differently from the rest of the class name.
When visually scanning includes this causes useless attention on names
with digits. The causing match in
/usr/share/vim/addons/syntax/puppet.vim is as follows.

    syn match   puppetParamDigits   "[0-9]\+"

A sequence of digits should not be highlighted when it occurs within a
word. I therefore suggest to change it to add a zero-width start-of-word
check.

    syn match   puppetParamDigits   "\<[0-9]\+"

Thanks 

Helmut


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to