diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b13a06b..82c644d 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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(), 1, 0)