From 11d533b99561242f07481061e9734bdb1c993417 Mon Sep 17 00:00:00 2001 From: Aram Markarov Date: Sat, 6 Dec 2025 18:58:43 +0100 Subject: [PATCH] treesitter fixed for React/js/jsx html inline formatting --- lua/config/treesitter.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lua/config/treesitter.lua b/lua/config/treesitter.lua index 7702cfe..91d0d16 100644 --- a/lua/config/treesitter.lua +++ b/lua/config/treesitter.lua @@ -6,4 +6,23 @@ require'nvim-treesitter.configs'.setup { enable = true, additional_vim_regex_highlighting = false, }, + indent = { + enable = true, + disable = {}, + }, + ensure_installed = { + "tsx", + "toml", + "fish", + "php", + "json", + "yaml", + "swift", + "css", + "html", + "lua" + }, + autotag = { + enable = true, + }, }