Hi

Attached is a patch to fix incorrect syntax highlighting
when editing gdb command files with Vim.

I noticed the problem when looking at the following gdb
command file:

$ vim -c 'set ft=gdb'
http://www.yolinux.com/TUTORIALS/src/dbinit_stl_views-1.01.txt

Notice that the the "end " statement at line 105 in the above file
has a trailing space and as a result $VIMRUNTIME/syntax/gdb.vim
did not recognize it as end of the "document" command, so too
many lines are highlighted as gdbDocument syntax group.

Attached patch fixes it.
Regards

-- Dominique

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui