Summary: | app-vim/gtk-syntax-20110214-r1 mishighlights the "if" keyword as a function. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petter Urkedal <urkedal> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adrianopol, burnsmellfactory |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch for gtk-syntax-20110214/syntax/clutter.vim and .../gobject.vim.
ebuild for latest version |
Description
Petter Urkedal
2011-12-11 16:31:16 UTC
I forgot: The package version is app-vim/gtk-syntax-20110214-r1. Created attachment 298655 [details, diff]
Patch for gtk-syntax-20110214/syntax/clutter.vim and .../gobject.vim.
Removed `if` keyword from clutter.vim and gobject.vim. Other files do not contain it. Syntax highlighting is OK after this.
I can confirm this. Indeed those 2 vim files contain an "if" at the end. This is actually already fixed upstream in version 20110314: http://www.vim.org/scripts/script.php?script_id=1000 Created attachment 318118 [details]
ebuild for latest version
I just copied gtk-syntax-20110214-r1.ebuild and gave it an appropriate name (and removed the $Header line since I don't have that information yet). It inherits "vim-plugin", which I assume contains all the logic to fetch the correct file.
This should be fixed in >=20121015. |