nvim-ts-rainbow icon indicating copy to clipboard operation
nvim-ts-rainbow copied to clipboard

The last line of a buffer is not correctly highlighted

Open registerGen opened this issue 1 year ago • 0 comments

Describe the bug

The last line of a buffer is not correctly highlighted.

Steps to reproduce

Paste the following code, and edit the main() function.

#include <iostream>
using namespace std;

int main() {
  int a, b;
  cin >> a >> b;
  cout << a + b << endl;
  return 0;
}

Expected behavior

The last line is highlighted by red.

Screenshots

image

After editing:

image

registerGen avatar Mar 26 '23 05:03 registerGen