Closed sojjan1337 closed 1 year ago
Is filetype
set to yaml.ansible
? :set filetype?
to check filetype.
Also review the following README sections.
For the installation of "coc.nvim" itself, check the following. An example is given for the case where the package manager is vim-plug
.
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Works now when i :set filetype=yaml.ansible
But i thought that init.vim would set this by the let g: code?
Thanks! :)
Also check the README for ansible-vim
if necessary. https://github.com/pearofducks/ansible-vim#readme
au BufNewFile,BufRead .yaml :setl ft=yaml.ansible au BufNewFile,BufRead .yml :setl ft=yaml.ansible
Hi!
Using neovim and i tried with ":CocInstall @yaegassy/coc-ansible" and also by adding the plugin and install it. But when i edit a .yaml or .yml i can't get the auto-completion to work.
Also added the let g: code into my init.vim, and using "Plug 'https://github.com/neoclide/coc.nvim"
i have ansible/lint/yamllint installed
Is there a good way to troubleshot this?
Thanks!