redhat-developer / yaml-language-server

Language Server for YAML Files
MIT License
1.1k stars 264 forks source link

Add API to update AST tree from internal document #852

Closed gorkem closed 1 year ago

gorkem commented 1 year ago

What does this PR do?

Adds a new API to update the internal AST from the internal document without requiring re-assigning the internal document.

What issues does this PR fix or reference?

Fixes eslint issues about self-assigning

Is it tested? How?

Existing test set

coveralls commented 1 year ago

Coverage Status

Coverage: 83.227% (+0.003%) from 83.225% when pulling f5a4e3b8b2b98d66f2d0ec25b83a4525a18c55f6 on gorkem:update-from-internal into a8c9883a423f763d7a6f9c58dfc0c09c906fecbb on redhat-developer:main.