l29ah / gentoo-syntax

[MIRROR] Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings for Vim

Home Page:https://gitweb.gentoo.org/proj/gentoo-syntax.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gentoo-syntax

A vim plugin that handles Gentoo and portage related syntax highlighting, filetype, and indent settings.

Installing

  • Gentoo users: emerge app-vim/gentoo-syntax
  • Everyone else: make PREFIX=~/.vim/ install

This plugin also provides a syntax checker for ebuilds and eclasses. To enable it, you need to install Syntastic and pkgcheck first:

# emerge app-vim/syntastic dev-util/pkgcheck

Then you'll need to configure Syntastic (see :help syntastic-quickstart) and add the following line to your .vimrc file:

let g:syntastic_ebuild_checkers = ['pkgcheck']

To find non-POSIX code in OpenRC services, install dev-util/checkbashisms and enable it for filetype "sh":

let g:syntastic_sh_checkers = ['sh', 'checkbashisms']

Bugs

Please file issues or submit pull requests on github.

License

You may redistribute this package under the same terms as Vim itself.

About

[MIRROR] Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings for Vim

https://gitweb.gentoo.org/proj/gentoo-syntax.git

License:Other


Languages

Language:Vim Script 98.9%Language:Makefile 1.1%