fix(runtime): gO always says "Help TOC" #32971

Problem:
gO always says "Help TOC".

Solution:
Use a generic title instead.
This commit is contained in:
Justin M. Keyes
2025-03-19 04:17:00 -07:00
committed by GitHub
parent d6653e1cc9
commit 74fcc9452c
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
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 })