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" }, + }, }, }