neoclide / coc-yaml

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

Feature request: load/merge settings.json from current directory #55

Closed jaypikay closed 2 years ago

jaypikay commented 2 years ago

It would be nice to have, if coc-yaml would load and merge the yaml.schemas from within the current working directory. I work on a project where we use custom schemas for yaml files. VSCode loads the schemas from the local directory .vscode/settings.json where.

Providing a option to enable and configure local project configuration would be great.

chemzqm commented 2 years ago

You can use yaml.schemas in your .vim/coc-settings.json

jaypikay commented 2 years ago

I know, but if you have a coliding filenames with different schemas, you need to edit it again. And when switching back to the other project, you need to edit it again. IMHO having something like local vimrc, but for coc-settings, would be a lot easier.