From be20fb0c64459323d7bae5dd1f5b07966aba081c Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Mon, 28 Jun 2021 13:11:37 -0400 Subject: ts playground option --- lua/plugins.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 32822d65..3726ef3f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -63,7 +63,7 @@ return require("packer").startup(function(use) "folke/which-key.nvim", config = function() require('lv-which-key').config() - end, + end } -- Autopairs @@ -181,8 +181,12 @@ return require("packer").startup(function(use) disable = not O.plugin.numb.active } - -- -- Treesitter playground - -- use {'nvim-treesitter/playground', opt = true} + -- Treesitter playground + use { + 'nvim-treesitter/playground', + event = "BufRead", + disable = not O.plugin.ts_playground.active + } -- -- Latex -- use {"lervag/vimtex", opt = true} -- -- comments in context -- cgit v1.2.3