pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.36k stars 127 forks source link

Working directory is not git root directory in monorepo #462

Open eelkeh opened 10 months ago

eelkeh commented 10 months ago

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

I might be missing something in the documentation but when I'm working in a subdirectory of the git repo goto_file ("Cannot find file in CWD") does not work as it maybe assumes that the working directory is the root directory of the git repository.

Describe what you expected to happen

I would like octo to be aware that the CWD is a subdirectory of the git repository.

How to reproduce it (as minimally and precisely as possible)

  1. Navigate to any subdirectory
  2. Open neovim
  3. Use goto_file

Tell us your environment

MacOS

Anything else we need to know?