From c22beb43a4526372abbd6c3dab48051e6b4e2a20 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 22 Jan 2022 16:34:18 +0100 Subject: Add treesitter playground --- lua/config/treesitter.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lua/config/treesitter.lua') diff --git a/lua/config/treesitter.lua b/lua/config/treesitter.lua index 0e1fe07..c0881e9 100644 --- a/lua/config/treesitter.lua +++ b/lua/config/treesitter.lua @@ -18,5 +18,12 @@ treesitter.setup({ disable = { "" }, -- list of language that will be disabled additional_vim_regex_highlighting = true, }, - indent = { enable = true, disable = { "yaml" } }, + context_commentstring = { + enable = true, + enable_autocmd = false, + }, + indent = { enable = true, disable = { "yaml", "python", "css" } }, + playground = { + enable = true + } }) -- cgit v1.2.3-70-g09d2