[arch-general] Any objections to asking vim to fix PKGBUILD syntax highlighting?

Morten Linderud foxboron at archlinux.org
Tue Mar 5 11:35:47 UTC 2019


On Tue, Mar 05, 2019 at 12:30:54PM +0100, Ismael Bouya wrote:
> (Tue, Mar 05, 2019 at 06:26:45AM -0500) james harvey via arch-general :
> > I'd like to post the following issue at: https://github.com/vim/vim/issues/new
> > 
> > Wanted to see if there were any objections from staff, like if even
> > though the error highlighting is technically wrong, if it's desired to
> > be left as-is to discourage 'pkgname' being a single element array or
> > 'SKIP' usage when inappropriate, etc.
> 
> Hi James, I think you’re targetting the wrong project:
> immae at immae ~ $ pacman -Qo /usr/share/vim/vimfiles/syntax/PKGBUILD.vim
> /usr/share/vim/vimfiles/syntax/PKGBUILD.vim is owned by pacman-contrib 1.1.0-1
> 
> PKGBUILD probably doesn’t exist in vim’s project ;)

It does, but it's just a simple alias to set filetype to bash. I think some of
us also discovered this recently and was pleasantly surprised :)

https://github.com/vim/vim/blob/master/runtime/filetype.vim#L1470


-- 
Morten Linderud
PGP: 9C02FF419FECBE16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20190305/f052a7ca/attachment.sig>


More information about the arch-general mailing list