Add ansible-vim

This commit is contained in:
Jeremy Gardais 2018-06-09 13:52:05 +02:00
parent 5e5705ccbc
commit a4cfa56fe1
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 10 additions and 0 deletions

10
vimrc
View File

@ -284,6 +284,7 @@ let g:syntastic_mode_map = { 'mode': 'active',
let g:syntastic_puppet_checkers = ['puppetlint'] let g:syntastic_puppet_checkers = ['puppetlint']
let g:syntastic_yaml_checkers = ['yamllint'] let g:syntastic_yaml_checkers = ['yamllint']
"########################## "##########################
" Neocomplcache : " Neocomplcache :
"########################## "##########################
@ -618,6 +619,8 @@ call plug#begin('~/.vim/plugged')
" Awesome syntax checker " Awesome syntax checker
" REQUIREMENTS: See :h syntastic-intro " REQUIREMENTS: See :h syntastic-intro
Plug 'scrooloose/syntastic' Plug 'scrooloose/syntastic'
" For ansible
Plug 'pearofducks/ansible-vim'
" Advanced auto-completion system " Advanced auto-completion system
Plug 'Shougo/neocomplcache' Plug 'Shougo/neocomplcache'
@ -995,3 +998,10 @@ vmap <leader>te :<C-U>!w3m "http://www.wordreference.com/enfr/<cword>" <CR>
vmap <leader>tf :<C-U>!w3m "http://www.wordreference.com/fren/<cword>" <CR> vmap <leader>tf :<C-U>!w3m "http://www.wordreference.com/fren/<cword>" <CR>
" ansible-vim
let g:ansible_attribute_highlight = "bold"
let g:ansible_extra_keywords_highlight = 1
let g:ansible_normal_keywords_highlight = 'Identifier'
let g:ansible_with_keywords_highlight = 'Statement'