From 74fcc9452cd99680a9f4aad255e90204966f74c3 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 19 Mar 2025 04:17:00 -0700 Subject: fix(runtime): gO always says "Help TOC" #32971 Problem: gO always says "Help TOC". Solution: Use a generic title instead. --- runtime/ftplugin/help.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/ftplugin/help.lua') diff --git a/runtime/ftplugin/help.lua b/runtime/ftplugin/help.lua index 1833e70ff9..14255fa0fc 100644 --- a/runtime/ftplugin/help.lua +++ b/runtime/ftplugin/help.lua @@ -57,7 +57,7 @@ end vim.keymap.set('n', 'gO', function() require('vim.treesitter._headings').show_toc() -end, { buffer = 0, silent = true, desc = 'Show table of contents for current buffer' }) +end, { buffer = 0, silent = true, desc = 'Show an Outline of the current buffer' }) vim.keymap.set('n', ']]', function() require('vim.treesitter._headings').jump({ count = 1 }) -- cgit