mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user