Added ansible into nvim

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2021-08-13 16:54:13 +02:00
parent b6cd05b56e
commit 0761a915fb

View File

@ -60,6 +60,7 @@ call plug#begin('~/.config/nvim/plugged')
" coc for yaml
Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}
Plug 'pearofducks/ansible-vim', { 'do': './UltiSnips/generate.sh' }
" coc for json
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'}
@ -105,6 +106,10 @@ set statusline+=%#Search#
set statusline+=\ %l/%L
set statusline+=\ [%c]
" ansible
let g:ansible_extra_keywords_highlight = 1
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
" fzf
let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*"'
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0)