aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/highlight.c4
-rw-r--r--src/nvim/version.c16
2 files changed, 10 insertions, 10 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c
index c96f07ed89..c0cae54572 100644
--- a/src/nvim/highlight.c
+++ b/src/nvim/highlight.c
@@ -642,11 +642,11 @@ Dictionary hlattrs2dict(HlAttrs ae, bool use_rgb)
PUT(hl, "special", INTEGER_OBJ(ae.rgb_sp_color));
}
} else {
- if (cterm_normal_fg_color != ae.cterm_fg_color) {
+ if (cterm_normal_fg_color != ae.cterm_fg_color && ae.cterm_fg_color != 0) {
PUT(hl, "foreground", INTEGER_OBJ(ae.cterm_fg_color - 1));
}
- if (cterm_normal_bg_color != ae.cterm_bg_color) {
+ if (cterm_normal_bg_color != ae.cterm_bg_color && ae.cterm_bg_color != 0) {
PUT(hl, "background", INTEGER_OBJ(ae.cterm_bg_color - 1));
}
}
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 4360b3776b..8bfd2f5021 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -101,7 +101,7 @@ static const int included_patches[] = {
1820,
1819,
1818,
- // 1817,
+ 1817,
1816,
1815,
1814,
@@ -132,7 +132,7 @@ static const int included_patches[] = {
// 1789,
1788,
1787,
- // 1786,
+ 1786,
1785,
1784,
// 1783,
@@ -378,9 +378,9 @@ static const int included_patches[] = {
// 1543,
1542,
1541,
- // 1540,
+ 1540,
1539,
- // 1538,
+ 1538,
1537,
1536,
1535,
@@ -396,7 +396,7 @@ static const int included_patches[] = {
// 1525,
1524,
1523,
- // 1522,
+ 1522,
1521,
// 1520,
1519,
@@ -423,11 +423,11 @@ static const int included_patches[] = {
1498,
1497,
1496,
- // 1495,
+ 1495,
1494,
1493,
1492,
- // 1491,
+ 1491,
1490,
1489,
1488,
@@ -562,7 +562,7 @@ static const int included_patches[] = {
1359,
// 1358,
1357,
- // 1356,
+ 1356,
// 1355,
// 1354,
1353,