neoclide / coc-yaml

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

Load schema from file path #71

Open luisdavim opened 2 years ago

luisdavim commented 2 years ago

It would be nice if it was possible to set a schema by passing a file path, either yaml.selectSchema could accept an argument for this or maybe this could be done by introducing a new command, something like yaml.loadSchema that would take a path to a schema file or if that is not passed by the user it would try to find one in the local directory.