Skip to content

Instantly share code, notes, and snippets.

@shawn-sterling
Last active December 21, 2015 23:29
Show Gist options
  • Save shawn-sterling/6382925 to your computer and use it in GitHub Desktop.
Save shawn-sterling/6382925 to your computer and use it in GitHub Desktop.
" ---------------------------------------------------------------------------
" -- Vundle Settings --
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
"-- Vundle Settings end --
" ---------------------------------------------------------------------------
" -- vundle -- vim bundle tool (thank jebus)
Bundle 'gmarik/vundle'
" -- vundle end --
" ---------------------------------------------------------------------------
" -- vim-indent-guides -- color indent guides
" leader ig to turn on
Bundle 'nathanaelkane/vim-indent-guides'
let g:indent_guides_auto_colors = 0
let g:indent_guides_enable_on_vim_startup = 1
" -- vim-indent guides end --
match Todo /\s\+$/ " make whitespace stand out (annoying but awesome)
filetype off
filetype plugin indent on
syntax on
autocmd BufRead *.pp setlocal shiftwidth=2
hi IndentGuidesOdd ctermbg=232
hi IndentGuidesEven ctermbg=233
" ---------------------------------------------------------------------------
" -- Vundle Settings --
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
"-- Vundle Settings end --
" ---------------------------------------------------------------------------
" -- vundle -- vim bundle tool (thank jebus)
Bundle 'gmarik/vundle'
" -- vundle end --
" ---------------------------------------------------------------------------
" -- vim-indent-guides -- color indent guides
" leader ig to turn on
Bundle 'nathanaelkane/vim-indent-guides'
let g:indent_guides_auto_colors = 0
let g:indent_guides_enable_on_vim_startup = 1
" -- vim-indent guides end --
match Todo /\s\+$/ " make whitespace stand out (annoying but awesome)
filetype off
filetype plugin indent on
syntax on
"autocmd disabled, as this changes hilight behavior of indent guides.
"autocmd BufRead *.pp setlocal shiftwidth=2
hi IndentGuidesOdd ctermbg=232
hi IndentGuidesEven ctermbg=233
# nginx::install
class nginx::install {
if ($operatingsystemrelease < 6.4) {
fail('The nginx rpm only supports CentOS 6.4+')
}
package { 'nginx':
ensure => present,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment