diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-03-19 04:17:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 04:17:00 -0700 |
commit | 74fcc9452cd99680a9f4aad255e90204966f74c3 (patch) | |
tree | 80d2dd3af6b6734c90d85e3a8323601f6b703576 /runtime/ftplugin/help.lua | |
parent | d6653e1cc957ef39b397e073230da87ee9a5411d (diff) | |
download | rneovim-74fcc9452cd99680a9f4aad255e90204966f74c3.tar.gz rneovim-74fcc9452cd99680a9f4aad255e90204966f74c3.tar.bz2 rneovim-74fcc9452cd99680a9f4aad255e90204966f74c3.zip |
fix(runtime): gO always says "Help TOC" #32971
Problem:
gO always says "Help TOC".
Solution:
Use a generic title instead.
Diffstat (limited to 'runtime/ftplugin/help.lua')
-rw-r--r-- | runtime/ftplugin/help.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 }) |