imc-trading / svlangserver

MIT License
95 stars 13 forks source link

Add scheme to file path for Neovim #33

Closed henry-hsieh closed 1 year ago

henry-hsieh commented 1 year 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.