The reason is because ansible-language-server requires the filetype to be ansible.yaml to work and the plugin pearofducks/ansible-vim will change the filetype to be ansible.yaml when it detects the file is ansible yaml file.
you can configure this in the neovim side, see the nvim-lspconfig specs of how to use get_language_id options. An example is the ltex-ls configuration.
Hi, thanks for this awesome tool!
I don't think I can use something like this for my neovim with lspconfig setup:
The reason is because
ansible-language-server
requires the filetype to beansible.yaml
to work and the pluginpearofducks/ansible-vim
will change the filetype to beansible.yaml
when it detects the file isansible
yaml file.