plugins/schemastore: remove table wrapping

Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
This commit is contained in:
Vincent Desjardins 2024-12-08 09:08:51 -05:00 committed by nix-infra-bot
parent 30f3a3242e
commit e2f81c8e8e

View file

@ -136,7 +136,7 @@ helpers.vim-plugin.mkVimPlugin {
plugins.lsp.servers = { plugins.lsp.servers = {
jsonls.settings = mkIf cfg.json.enable { jsonls.settings = mkIf cfg.json.enable {
schemas.__raw = '' schemas.__raw = ''
require('schemastore').json.schemas({${helpers.toLuaObject cfg.json.settings}}) require('schemastore').json.schemas(${helpers.toLuaObject cfg.json.settings})
''; '';
# The plugin recommends to enable this option in its README. # The plugin recommends to enable this option in its README.
@ -155,7 +155,7 @@ helpers.vim-plugin.mkVimPlugin {
}; };
schemas.__raw = '' schemas.__raw = ''
require('schemastore').yaml.schemas({${helpers.toLuaObject cfg.yaml.settings}}) require('schemastore').yaml.schemas(${helpers.toLuaObject cfg.yaml.settings})
''; '';
}; };
}; };