neoclide / coc-yaml

Yaml language server extension for coc.nvim
MIT License
248 stars 23 forks source link

String of type integer gets pasted as int #50

Closed stsewd closed 2 years ago

stsewd commented 3 years ago

In some schemes a string containing a number is listed, but the extension will insert the number without quotes (and then it will give an error because it doesn't match the options). And this can be a problem with values like 3.10 vs "3.10" (the former could get parsed as 3.1).

Looks like this problem was fixed upstream in https://github.com/redhat-developer/yaml-language-server/pull/340