Skip to content

Commit

Permalink
fix(schema): correctly format uri. Fixes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 16, 2023
1 parent 87f9746 commit 67acada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neoconf/plugins/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function M.on_schema(schema)
anyOf = {
{ const = "false", description = "Set to false to disable this lsp server" },
{
["$ref"] = "file://" .. s.settings_file:gsub("\\", "/"),
["$ref"] = vim.uri_from_fname(s.settings_file),
},
},
})
Expand Down

0 comments on commit 67acada

Please sign in to comment.