From 626f96bd0293f252f3c05ea4b9534bb319e0c627 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 4 Aug 2022 14:53:36 +0100 Subject: Enable indent --- treesitter.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/treesitter.lua b/treesitter.lua index d9bcbec..7f772aa 100644 --- a/treesitter.lua +++ b/treesitter.lua @@ -5,12 +5,6 @@ -- go, scala, c & cpp, python, comment, ... -- require'nvim-treesitter.configs'.setup { - highlight = { - enable = true, - -- Setting this to true will run `:h syntax` and tree-sitter at the same time. - -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). - -- Using this option may slow down your editor, and you may see some duplicate highlights. - -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = false, - }, + highlight = { enable = true }, + indent = { enable = true }, } -- cgit v1.2.3