1587 / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Fix highlighting comments in VB syntax file #386

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently comments introduced with "rem" are not highlighted as comments in 
VB[Script] files. To fix this, "rem" keyword needs to be removed as this 
conflicts with its use as start region marker for vbComment syntax region.

Patch:
---------------------------------- >8 --------------------------------------
--- syntax/vb.vim  2015-07-19 01:08:13.000000000 +0200
+++ syntax/vb.vim    2015-07-19 01:02:42.322321200 +0200
@@ -223,7 +223,7 @@
 syn keyword vbStatement GoTo Gosub Implements Kill LSet Let Lib LineInput
 syn keyword vbStatement Load Lock Loop Mid MkDir Name Next On OnError Open
 syn keyword vbStatement Option Preserve Private Property Public Put RSet
-syn keyword vbStatement RaiseEvent Randomize ReDim Redim Rem Reset Resume
+syn keyword vbStatement RaiseEvent Randomize ReDim Redim Reset Resume
 syn keyword vbStatement Return RmDir SavePicture SaveSetting Seek SendKeys
 syn keyword vbStatement Sendkeys Set SetAttr Static Step Stop Sub Time
 syn keyword vbStatement Type Unload Unlock Until Wend While Width With
---------------------------------- >8 --------------------------------------

Original issue reported on code.google.com by vzeitlin@gmail.com on 18 Jul 2015 at 11:10

GoogleCodeExporter commented 9 years ago
Fixed as of 
https://code.google.com/p/vim/source/detail?r=b2673982c625503d99459f31b6c0a347e7
03321a

Original comment by chrisbr...@googlemail.com on 23 Jul 2015 at 11:52