Closed sc68cal closed 1 year ago
This relies on a user setting ft=yaml.ansible
to keep yaml syntax highlighting, but also trigger usage of the ansible lsp. If there is a better way to auto detect that a file is a YAML file using the Ansible DSL that would be even better, but I'd need suggestions for that
Thanks for sending a PR, but while the snippet is useful it doesn't integrate with the existing mechanism, which is doc'd here: https://github.com/ycm-core/lsp-examples#quick-start
Typically we add a little script to help users get a working version of the server and stuff, as well as write something on the readme that we tested it and it worked.
moreover the snippet itself overwrites any other servers you might have configured, so I'm not sure it's any more useful than just a note in the readme or wiki
This change is