imc-trading / svlangserver

MIT License
100 stars 13 forks source link

Add scheme to file path for Neovim #33

Closed henry-hsieh closed 2 years ago

henry-hsieh commented 2 years ago

Neovim asserts that the file URI must contain a scheme (file:// prefixes the file path). If the file paths without schemes are used in functions like goDefinition, the functions will be failed.

I'm not sure whether the index.json containing a file path without a scheme is valid. This provides an easy way to fix the problem.