Skip to content

Manpages provider only searches for certain sections #18

@PsychedelicOrange

Description

@PsychedelicOrange

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions