Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262201 - app-vim/gtk-syntax contains incorrect gtksourceview syntax file
Summary: app-vim/gtk-syntax contains incorrect gtksourceview syntax file
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 21:01 UTC by Andrey
Modified: 2009-04-13 15:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2009-03-11 21:01:12 UTC
Vim 7.1 (7.2) installs some additional syntax files in /usr/share/vim/vimfiles/syntax/. Among them there is gtksourceview.vim has a line

syn keyword gtksourceviewFunction <...some keywords...> gtk_source_view_set_tab_width int void

The consequence of this is that when I am editing C or C++ files both int and void are highlighted with colors corresponding to gtksourceviewFunction and not cType as other standard types (double, float, ...). On my system that means that int and void are highlighted differently than other types.

I think the proper solution would be removing int and void at the end of the line. At least that fixes the problem for me

Reproducible: Always
Comment 1 Andrey 2009-03-12 02:07:13 UTC
Correction: the file belongs to app-vim/gtk-syntax

Comment 2 Tadej Borovšak 2009-04-10 19:02:14 UTC
I think this bug can be marked as "fixed upstream" since newer syntax files don't have this error in them.

See bug http://bugs.gentoo.org/show_bug.cgi?id=265633 for information about newer syntax files.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-04-13 15:43:36 UTC
Agreed.  Hopefully the latest version of gtk-syntax fixes your issues.