diff options
author | christianchiarulli <[email protected]> | 2021-06-28 13:11:37 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-06-28 13:11:37 -0400 |
commit | be20fb0c64459323d7bae5dd1f5b07966aba081c (patch) | |
tree | 051cf3fd61e3790c8d0c1dfa753cdadebc70d956 /lua/plugins.lua | |
parent | f99f1858843128976e4b6cd1cd8b2de96af7d2a9 (diff) |
ts playground option
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 10 |
1 files changed, 7 insertions, 3 deletions
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 |