From 15f963ce4bc7c42cb1791e0871558678c6550fb9 Mon Sep 17 00:00:00 2001 From: cbosvik <132846580+cbosvik@users.noreply.github.com> Date: Thu, 4 Jul 2024 22:55:12 +0200 Subject: [PATCH] Update rest.lua --- lua/lazyvim/plugins/extras/util/rest.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/lazyvim/plugins/extras/util/rest.lua b/lua/lazyvim/plugins/extras/util/rest.lua index e5fb4872..96d55628 100644 --- a/lua/lazyvim/plugins/extras/util/rest.lua +++ b/lua/lazyvim/plugins/extras/util/rest.lua @@ -16,13 +16,12 @@ return { config = function() require("kulala").setup({}) end, + opts = {}, }, { "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if type(opts.ensure_installed) == "table" then - vim.list_extend(opts.ensure_installed, { "http", "graphql" }) - end - end, + opts = { + ensure_installed = { "http", "graphql" }, + }, }, }