aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-08-04 14:53:36 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-08-04 14:53:36 +0100
commit626f96bd0293f252f3c05ea4b9534bb319e0c627 (patch)
treea623f1edf534f286770b7cf1dfddf1637112fdfe
parentad1f23a6de418d8d067fe413ad6e8cd0b449a5dc (diff)
downloaddotnvim-626f96bd0293f252f3c05ea4b9534bb319e0c627.tar.gz
dotnvim-626f96bd0293f252f3c05ea4b9534bb319e0c627.zip
Enable indent
-rw-r--r--treesitter.lua10
1 files 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 },
}