Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297282 - app-vim/gentoo-syntax-20090220: highlight lines after initial comments
Summary: app-vim/gentoo-syntax-20090220: highlight lines after initial comments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2009-12-17 12:40 UTC by lucapost
Modified: 2014-11-29 07:53 UTC (History)
1 user (show)

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


Attachments
screenshot of /etc/conf.d/net (screenshot.png,536.49 KB, image/jpeg)
2009-12-19 15:48 UTC, lucapost
Details
screenshot.png (screenshot.png,5.72 KB, image/jpeg)
2009-12-19 15:55 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucapost 2009-12-17 12:40:59 UTC
if the tops lines are comments, since one or more empty lines are present, the highlight does not work, and the color highlight is white.



Reproducible: Always

Steps to Reproduce:
1. for example: vi /etc/conf.d/net






Portage 2.1.6.13 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32 x86_64)
=================================================================
System uname: Linux-2.6.32-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6500_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 13 Dec 2009 21:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dell dri fortran gdbm gpm hal iconv jpeg ldap mmx modules mudflap nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd pulseaudio python readline reflection session spl sqlite sse sse2 ssl sysfs tcpd tiff unicode xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-19 15:30:56 UTC
works for me. Don't know how to reproduce.
Comment 2 lucapost 2009-12-19 15:48:37 UTC
Created attachment 213475 [details]
screenshot of /etc/conf.d/net 

what info also do you need?
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-19 15:55:20 UTC
Created attachment 213477 [details]
screenshot.png

Here is what happens with my vim. Looks like it works.
Comment 4 lucapost 2009-12-19 15:59:20 UTC
You can remove empty line before "# ----------- test, I see noproblem", and test again?

thanks, Luca


> Created an attachment (id=213477) [details]
> screenshot.png
> 
> Here is what happens with my vim. Looks like it works.
> 

Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-19 16:11:05 UTC
(In reply to comment #4)
> You can remove empty line before "# ----------- test, I see noproblem", and
> test again?

Ah, that is how you reproduce it. I still don't know how to fix it though. =/
Comment 6 lucapost 2012-04-05 12:17:35 UTC
same problem with the last update in portage 20120109
Comment 7 Tim Harder gentoo-dev 2014-11-29 07:53:39 UTC
This was caused by poor logic around trying to highlight Gentoo CVS headers. It's now fixed in git and will be in the next release.