mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +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:
@@ -800,7 +800,7 @@ function M.show_toc()
|
||||
end
|
||||
|
||||
fn.setloclist(0, toc, ' ')
|
||||
fn.setloclist(0, {}, 'a', { title = 'Man TOC' })
|
||||
fn.setloclist(0, {}, 'a', { title = 'Table of contents' })
|
||||
vim.cmd.lopen()
|
||||
vim.w.qf_toc = bufname
|
||||
end
|
||||
|
Reference in New Issue
Block a user