someone-stole-my-name / yaml-companion.nvim

Get, set and autodetect YAML schemas in your buffers.
MIT License
202 stars 18 forks source link

Prevent other clients from clobbering context #15

Closed joshfrench closed 1 year ago

joshfrench commented 1 year ago

This is related to the other PR I opened in that it's another case of yaml-companion getting stepped on by a different client. In my case I use null-ls and when it attaches to a buffer, it replaces the yamlls client already stored in context, if one exists.

someone-stole-my-name commented 1 year ago

This shouldn't happen on nvim 0.7 once we merge https://github.com/someone-stole-my-name/yaml-companion.nvim/pull/14 but checking doesn't hurt. Can you please merge main into your branch?