If I write a new file, It works nice but if I edit a file does not.
I am using this custom schema: https://gist.github.com/palvarezcordoba/55ea8c948c45475446cb6fff6f91a359
If I try to get suggestions here:

It fails because there is more text below.
What happens if I delete that text?
It works:

EDIT: This bug is only reproducible inside an object, If you edit a top-level var it does not fail
For example:
default_password: **************
default_snmp_community: **************
default_model: **************
default_ssh_port: **************
default_position:
default_zoom: **************
default_Lat: **************
default_Lng: **************
locations:
- name: **************
comment: **************
latitude: **************
longitude: **************
In that yaml, if you delete default_ssh_port, put your cursor below default_model and press ctrl + space you will get suggestions, but if you try to edit locations it does not work because there is more text below (it does not appear in the snippet)
If I write a new file, It works nice but if I edit a file does not.
I am using this custom schema: https://gist.github.com/palvarezcordoba/55ea8c948c45475446cb6fff6f91a359
If I try to get suggestions here:

It fails because there is more text below.
What happens if I delete that text?

It works:
EDIT: This bug is only reproducible inside an object, If you edit a top-level var it does not fail
For example:
In that yaml, if you delete default_ssh_port, put your cursor below default_model and press ctrl + space you will get suggestions, but if you try to edit locations it does not work because there is more text below (it does not appear in the snippet)