Bug#783280: c.vim highlights c99 structure literals as errors
Josh Triplett
josh at joshtriplett.org
Sat Apr 25 02:01:14 UTC 2015
Package: vim-runtime
Version: 2:7.4.488-7
Severity: normal
File: c.vim
Given the following (artificial) example:
struct point {
int x;
int y;
};
int get_y(struct point p)
{
return p.y;
}
int main(void)
{
return get_y((struct point){ .x = 5, .y = 10 });
}
vim highlights the '{' in the structure literal in main as an error.
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-rc7 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
vim-runtime depends on no packages.
Versions of packages vim-runtime recommends:
ii vim 2:7.4.488-7
vim-runtime suggests no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list