Code snippet plugin has incorrect diff #875
-
The code snippet plugin shows this: the last line is erroneous in the plugin |
Beta Was this translation helpful? Give feedback.
Answered by
spenserblack
Feb 13, 2022
Replies: 1 comment 1 reply
-
I'm guessing what happened is that, because the last line had a - foo it was interpreted as the - foo 🤣 I think the solution is that the code snippet plugin should precede any unchanged line with a space ( +- addition
- foo
--deletion |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Nixinova
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm guessing what happened is that, because the last line had a
-
- foo
it was interpreted as the
-
in a diff.- foo
🤣
I think the solution is that the code snippet plugin should precede any unchanged line with a space (
), which is how git shows diffs.