Ignore unmatched line on right-justification mode

Unmatched line is NOT ignored on right-justification mode. However this
commit makes such a line ignored when the end of the line is highlighted
as one of the ignored syntax groups (e.g. Comments or Strings)
This commit is contained in:
Junegunn Choi
2013-08-16 02:23:00 +09:00
parent 0fb997d5ab
commit 1e2af43a64
4 changed files with 65 additions and 16 deletions

View File

@@ -136,3 +136,19 @@ Pete Best 1941
daisy = 4
eggplant = 5
```c
int a = 1;
long b = 2;
float c = 3;
string d = 4;
// this line should not get aligned
long int e = 5;
std::map f;
std::map g; /* this? */
short h /* how about this? */ = 6;
string i = "asdf";
```