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

Diff wrong on some files

austinbutler opened this issue · comments

Issue Description

Type: bug report

Describe what happened (or what feature you want)

During PR review, on some files the syntax highlighting gets tripped up and it will consider the entire file new/changed.

Describe what you expected to happen

Only show the one line that changed as new instead of the whole file.

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

I'm not sure on the repro, aside from:

  1. :Octo <url here>
  2. :Octo review start

Tell us your environment

Anything else we need to know?

The only config I've changed from default is set use_local_fs to true.

I'm also having this issue, though I haven't found a consistent reproduction. With you, does that always happen when reviewing large files?

I had thought so, but I hadn't been paying close attention. However right now it's happening on a file with only 290 lines. I've updated the issue to be more accurate given that.