You are not logged in.

#1 2018-06-10 17:41:43

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Vim color scheme for PKGBUILDs on recent pacman update

I noticed that one of the recent pacman updates causes a different vim theme when editing PKGBUILD files.  The syntax highlighting therein seems to odd to me.  For example:
odd.jpg

Lines 2 and 3 should be italicized and cyan like line 1
Why is line 5 red after the = sign?  Changing it an an array doesn't fix it.

From within vim, executing `:colo` returns "default" so perhaps this isn't due to pacman but to vim itself.  Can someone more vim savvy point me to the cause an potential fix?  Thanks!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2018-06-10 18:37:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Vim color scheme for PKGBUILDs on recent pacman update

The vim syntax file included with pacman-contrib calls out the maintainer tag specifically instead of leaving it as a simple comment. Expected behavior.

Online

#3 2018-06-10 20:06:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Vim color scheme for PKGBUILDs on recent pacman update

Thanks for the info, Scimmia.  I grepped for '*.vim' from `pacman -Qo pacman` but found a null.  I forgot about the pacman-contrib package.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB