From e2f81c8e8e8baa28b100e0e43b721f16de6299d8 Mon Sep 17 00:00:00 2001 From: Vincent Desjardins Date: Sun, 8 Dec 2024 09:08:51 -0500 Subject: [PATCH] plugins/schemastore: remove table wrapping Signed-off-by: Vincent Desjardins --- plugins/by-name/schemastore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/by-name/schemastore/default.nix b/plugins/by-name/schemastore/default.nix index b74a955b..0962bb5e 100644 --- a/plugins/by-name/schemastore/default.nix +++ b/plugins/by-name/schemastore/default.nix @@ -136,7 +136,7 @@ helpers.vim-plugin.mkVimPlugin { plugins.lsp.servers = { jsonls.settings = mkIf cfg.json.enable { 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. @@ -155,7 +155,7 @@ helpers.vim-plugin.mkVimPlugin { }; schemas.__raw = '' - require('schemastore').yaml.schemas({${helpers.toLuaObject cfg.yaml.settings}}) + require('schemastore').yaml.schemas(${helpers.toLuaObject cfg.yaml.settings}) ''; }; };