From 492756eef60c3ab5612b4e3362705a58f6f69503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 2 Mar 2024 14:09:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20perf(nvim):=20playground=20now?= =?UTF-8?q?=20loads=20on=20key=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extras/editor/treesitter-playground.lua | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/editor/treesitter-playground.lua b/.config/nvim/lua/plugins/extras/editor/treesitter-playground.lua index 1300f4a5..be835ba5 100644 --- a/.config/nvim/lua/plugins/extras/editor/treesitter-playground.lua +++ b/.config/nvim/lua/plugins/extras/editor/treesitter-playground.lua @@ -1,19 +1,19 @@ if vim.fn.has("nvim-0.10") == 1 then return { { - "nvim-treesitter/nvim-treesitter", + "nvim-treesitter/playground", dependencies = { - "nvim-treesitter/playground", - }, - build = ":TSInstall query", - opts = { - playground = { - enable = true, - }, - query_linter = { - enable = true, - use_virtual_text = true, - lint_events = { "BufWrite", "CursorHold" }, + "nvim-treesitter/nvim-treesitter", + build = ":TSInstall query", + opts = { + playground = { + enable = true, + }, + query_linter = { + enable = true, + use_virtual_text = true, + lint_events = { "BufWrite", "CursorHold" }, + }, }, }, keys = {