diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-22 16:34:18 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-22 16:34:18 +0100 |
commit | c22beb43a4526372abbd6c3dab48051e6b4e2a20 (patch) | |
tree | d112b307a253cfb292bcd124774bb1d301eeb114 /lua/config/treesitter.lua | |
parent | 6a97ba66fe9f7da4c2eccb001c3e325a8b9f060b (diff) |
Add treesitter playground
Diffstat (limited to 'lua/config/treesitter.lua')
-rw-r--r-- | lua/config/treesitter.lua | 9 |
1 files changed, 8 insertions, 1 deletions
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 + } }) |