blob: 356c669f7cb78c8d9219484604691199f0492461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
" Vim filetype plugin file
" Language: Gentoo Ebuilds / Eclasses
" Author: Ciaran McCreesh <ciaranm@gentoo.org>
" Copyright: Copyright (c) 2004-2005 Ciaran McCreesh
" Licence: You may redistribute this under the same terms as Vim itself
"
" This sets up filetype specific options for Gentoo ebuilds and eclasses. Most
" of these settings are mandated by policy.xml. Some settings are inherited
" from vim's sh.vim. UTF-8 is selected as per GLEP 31.
"
if &compatible || v:version < 603
finish
endif
runtime! ftplugin/sh.vim
" Include - in keyword characters (for strip-flags etc)
exec "setlocal iskeyword=" . &iskeyword . ",45"
" Required whitespace settings
setlocal tabstop=4
setlocal shiftwidth=4
setlocal noexpandtab
" GLEP 31 settings
setlocal fileencoding=utf-8
|