Added ansible into nvim
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
b6cd05b56e
commit
0761a915fb
@ -60,6 +60,7 @@ call plug#begin('~/.config/nvim/plugged')
|
|||||||
|
|
||||||
" coc for yaml
|
" coc for yaml
|
||||||
Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}
|
Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}
|
||||||
|
Plug 'pearofducks/ansible-vim', { 'do': './UltiSnips/generate.sh' }
|
||||||
|
|
||||||
" coc for json
|
" coc for json
|
||||||
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'}
|
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'}
|
||||||
@ -105,6 +106,10 @@ set statusline+=%#Search#
|
|||||||
set statusline+=\ %l/%L
|
set statusline+=\ %l/%L
|
||||||
set statusline+=\ [%c]
|
set statusline+=\ [%c]
|
||||||
|
|
||||||
|
" ansible
|
||||||
|
let g:ansible_extra_keywords_highlight = 1
|
||||||
|
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*"'
|
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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user