aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-12-24 13:59:24 -0600
committerToby Vincent <tobyv13@gmail.com>2022-12-24 14:00:14 -0600
commitd317887c1d3dec65a64cb35a4367925d44951385 (patch)
treebd23c8e0567fab2559b5d939bb9188002f4e68ca /nvim
parentf4e519f52ef6a018fca60a557c3a47a017f0c195 (diff)
perf(nvim,treesitter): lazy load treesitter-playground on cmd
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua b/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua
index 3b03e10..1138d06 100644
--- a/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua
+++ b/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua
@@ -3,10 +3,10 @@ local M = {
build = ":TSUpdate",
event = "BufReadPost",
dependencies = {
- "nvim-treesitter/playground",
"nvim-treesitter/nvim-treesitter-textobjects",
"JoosepAlviste/nvim-ts-context-commentstring",
"mfussenegger/nvim-ts-hint-textobject",
+ { "nvim-treesitter/playground", cmd = "TSPlaygroundToggle" },
},
}