From 7f5c4d103929be05377e43e9f202621a8ef94025 Mon Sep 17 00:00:00 2001 From: "yoshiaki.inoue" Date: Wed, 25 Jun 2025 15:48:22 +0900 Subject: [PATCH] fix(indent): re-render on scroll --- lua/hlchunk/mods/indent/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/hlchunk/mods/indent/init.lua b/lua/hlchunk/mods/indent/init.lua index 876d6d2..8d5538c 100644 --- a/lua/hlchunk/mods/indent/init.lua +++ b/lua/hlchunk/mods/indent/init.lua @@ -192,7 +192,7 @@ function IndentMod:createAutocmd() local autocommands = { { events = { "User" }, pattern = "WinScrolledX", opts = { lazy = false } }, - { events = { "User" }, pattern = "WinScrolledY", opts = { lazy = true } }, + { events = { "User" }, pattern = "WinScrolledY", opts = { lazy = false } }, { events = { "TextChanged", "TextChangedI", "BufWinEnter" }, opts = { lazy = false } }, { events = { "OptionSet" }, pattern = "list,shiftwidth,tabstop,expandtab", opts = { lazy = false } }, }