Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gentoo/gentoo-syntax
[MIRROR] Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings for Vim
https://github.com/gentoo/gentoo-syntax
hacktoberfest vim vim-plugin
Last synced: 2 days ago
JSON representation
[MIRROR] Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings for Vim
- Host: GitHub
- URL: https://github.com/gentoo/gentoo-syntax
- Owner: gentoo
- License: other
- Created: 2014-11-29T05:17:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T23:30:37.000Z (7 months ago)
- Last Synced: 2024-05-08T20:28:48.155Z (6 months ago)
- Topics: hacktoberfest, vim, vim-plugin
- Language: Vim Script
- Homepage: https://gitweb.gentoo.org/proj/gentoo-syntax.git
- Size: 453 KB
- Stars: 25
- Watchers: 63
- Forks: 29
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: COPYING
Awesome Lists containing this project
README
=============
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``Syntastic
---------This plugin 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']
.. _Syntastic: https://github.com/vim-syntastic/syntastic
.. _pkgcheck: https://github.com/pkgcore/pkgcheckAsynchronous Lint Engine
------------------------A pkgcheck-based linter for ALE_ is also installed. It will be enabled
automatically if pkgcheck_ is installed, no manual action is required... _ALE: https://github.com/dense-analysis/ale
Bugs
====Please file issues or submit pull requests on github_.
.. _github: https://github.com/gentoo/gentoo-syntax
License
=======You may redistribute this package under the same terms as Vim itself.