pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working directory is not git root directory in monorepo

eelkeh opened this issue · comments

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?