From b2df6cb0bc1c7ced46bf70470b89a64568114856 Mon Sep 17 00:00:00 2001 From: Danilo Rezende <50598421+returnDanilo@users.noreply.github.com> Date: Sun, 9 Mar 2025 01:47:11 -0300 Subject: [PATCH 1/2] docs: reword vim_markdown_toc_autofit --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ccf5325..0126abe3 100644 --- a/README.md +++ b/README.md @@ -149,8 +149,7 @@ Try `:help concealcursor` and `:help conceallevel` for details. - `g:vim_markdown_toc_autofit` - Allow for the TOC window to auto-fit when it's possible for it to shrink. - It never increases its default size (half screen), it only shrinks. + Fit vertical TOC window to its contents. It will occupy half the screen, otherwise. Length will be turncated if longer than half the screen. let g:vim_markdown_toc_autofit = 1 From 94e5f5b029dc8cbcc2938019391d871303dbb708 Mon Sep 17 00:00:00 2001 From: Danilo Rezende <50598421+returnDanilo@users.noreply.github.com> Date: Fri, 1 Aug 2025 23:16:27 -0300 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Caleb Maclennan --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0126abe3..13f9707a 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ Try `:help concealcursor` and `:help conceallevel` for details. - `g:vim_markdown_toc_autofit` - Fit vertical TOC window to its contents. It will occupy half the screen, otherwise. Length will be turncated if longer than half the screen. + Fit vertical TOC window to its contents. It will occupy half the screen, otherwise. Length will be truncated if longer than half the screen. let g:vim_markdown_toc_autofit = 1