From 4ba859ac10480a4ecad975f559a119251151303a Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Wed, 6 Dec 2023 04:51:27 +0100 Subject: [PATCH] now indenting based on the treesitter AST --- nvim/lua/settings/lazy/plugins/nvim-treesitter.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua b/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua index cca2930..076d24d 100644 --- a/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua +++ b/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua @@ -43,6 +43,10 @@ return { ---- If you need to change the installation directory of the parsers (see -> Advanced Setup) -- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")! + indent = { + enable = true + }, + highlight = { enable = true,