swagger-api / apidom

Semantic parser for API specifications
https://swagger-api.github.io/apidom/
70 stars 18 forks source link

fix(apidom-ls): fix YAML completion in end of doc scenario #4502

Closed frantuma closed 1 week ago

frantuma commented 1 week ago

This fixes wrong/absent completion items being returned in cases where YAML is not correct (e.g. partial key) and cursor is at beginning of line right after a non empty node (possibly related to the YAML tree-sitter grammar switch in #4429)