Commit 5063384
authored
fix(previewer): remove unexpected trailing blank line (#3653)
There will be a blank line in the previewer buffer if the file ends with
a line feed. Since Neovim treats `\n` (or `\r\n`) as the
"line terminator" instead of the "line separator", the previewer buffer
should be consistent with the standard behavior.
This removes the last empty string from the split result to fix that.1 parent 028d9a0 commit 5063384
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
0 commit comments