Open jasoncavanaugh opened 1 year ago
PR is welcome, though the question is whether that requires all too much documentation, since it's practically speaking an alias for builtin (neo)vim functionality.
utils.buffer_dir = vim.fn.expand "%:p:h"
See :h expand
Description
:h telescope.utils
doesn't provide any documentation fortelescope.utils.buffer_dir
despite this function being referenced in other parts of the docs.Neovim version
Operating system and version
Ubuntu 22.04.1 LTS
Telescope version / branch / rev
telescope 0.1.1
checkhealth telescope
Steps to reproduce
:h telescope.builtin.find_files()
or:h telescope.builtin.grep_string()
or:h telescope.builtin.tags()
{cwd}
option mentions usingutils.buffer_dir()
to change thecwd
to the directory of the current buffer:h telescope.utils
telescope.utils.buffer_dir
Expected behavior
There should be an entry in
:h telescope.utils
fortelescope.utils.buffer_dir
Actual behavior
There is no entry for
telescope.utils.buffer_dir
Minimal config