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:
:Octo <url here>
:Octo review start
Tell us your environment
- Octo at 1e2376a
- NVIM v0.9.5
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.