diff --git a/lua/neorg/modules/core/qol/toc/module.lua b/lua/neorg/modules/core/qol/toc/module.lua index 99f1e5a02..ba2dc710c 100644 --- a/lua/neorg/modules/core/qol/toc/module.lua +++ b/lua/neorg/modules/core/qol/toc/module.lua @@ -440,6 +440,7 @@ local function create_ui(tabpage, split_dir, enter) ui_wo.foldexpr = "v:lua.vim.treesitter.foldexpr()" ui_wo.foldlevel = 99 ui_wo.winfixbuf = true + ui_wo.winfixwidth = true if module.config.public.sync_cursorline then ui_wo.cursorline = true