I couldn't make man pages from man3 section show up.
Turns out Man provider only searches for certain sections, (n or '1').
Assuming n is for tcl stuff
local word = vim.fn.expand('<cword>')
local uri
if vim.bo[opts.bufnr].filetype == 'tcl' then
uri = string.format('man://%s(n)', word)
else
uri = string.format('man://%s', word)
end
should work better ?
Maybe could be behind a config ? I don't know what people would prefer.