Bug#499644: "state" variables in perl (perl 5.10 feature)
Anthony DeRobertis
anthony at derobert.net
Sat Sep 20 22:49:59 UTC 2008
Package: vim-runtime
Version: 1:7.1.314-3
Severity: minor
File: /usr/share/vim/vim71/syntax/perl.vim
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"state" should probably be highlighted like my, local, and our. I
believe the attached patch should do it.
- -- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (130, 'unstable'), (120, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
vim-runtime depends on no packages.
Versions of packages vim-runtime recommends:
ii vim 1:7.1.314-3+b1 Vi IMproved - enhanced vi editor
ii vim-gtk [vim] 1:7.1.314-3+b1 Vi IMproved - enhanced vi editor -
vim-runtime suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjVfhQACgkQ+z+IwlXqWf6BRACdG2/JzAqRDWkZRe7GYt6Vdunn
twAAnjJlaVaWS/ZKvMzT/qY67Z3qBVUr
=FG59
-----END PGP SIGNATURE-----
-------------- next part --------------
--- perl.vim.old 2008-09-20 18:45:09.000000000 -0400
+++ perl.vim 2008-09-20 18:45:58.000000000 -0400
@@ -95,7 +95,7 @@
syn keyword perlControl BEGIN END CHECK INIT
endif
-syn keyword perlStatementStorage my local our
+syn keyword perlStatementStorage my local our state
syn keyword perlStatementControl goto return last next redo
syn keyword perlStatementScalar chomp chop chr crypt index lc lcfirst length ord pack reverse rindex sprintf substr uc ucfirst
syn keyword perlStatementRegexp pos quotemeta split study
More information about the pkg-vim-maintainers
mailing list