aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md10
-rw-r--r--assets/scrot-config-cursor-line-number-background-default.pngbin0 -> 115113 bytes
-rw-r--r--assets/scrot-config-cursor-line-number-background.pngbin0 -> 115088 bytes
-rwxr-xr-xcolors/nord.vim2
4 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index 922c281..c56eb13 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,7 @@ Nord Vim is a 16 colorspace theme build to run in GUI- and terminal mode with su
- [Uniform Status Lines](#uniform-status-lines)
- [Comment Contrast](#comment-contrast)
- [Uniform diff Background](#uniform-diff-background)
+ - [Line number background](#line-number-background)
- [Plugin Support](#plugin-support)
- [UI Plugins](#ui-plugins)
- [Language Plugins](#language-plugins)
@@ -230,14 +231,17 @@ let g:nord_uniform_diff_background = 1
<p align="center"><strong>Colorful backgrounds (default)</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-uniform-diff-default.png"/><br><strong>Uniform diff background</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-uniform-diff.png"/>
</p>
-### Highlighting the current line number
+### Line number background
-Enables background for line number of the current line the same with text background of the current line.
+Enables background for the line number of the current line.
```vim
-let g:nord_cursor_line_number_coloring = 1
+let g:nord_cursor_line_number_background = 1
```
+<p align="center"><strong>No background (default)</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-cursor-line-number-background-default.png"/><br><strong>Enabled background</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-cursor-line-number-background.png"/>
+</p>
+
## Plugin Support
Nord Vim provides support for many third-party language- and UI plugins.
diff --git a/assets/scrot-config-cursor-line-number-background-default.png b/assets/scrot-config-cursor-line-number-background-default.png
new file mode 100644
index 0000000..1aa90ac
--- /dev/null
+++ b/assets/scrot-config-cursor-line-number-background-default.png
Binary files differ
diff --git a/assets/scrot-config-cursor-line-number-background.png b/assets/scrot-config-cursor-line-number-background.png
new file mode 100644
index 0000000..86ef534
--- /dev/null
+++ b/assets/scrot-config-cursor-line-number-background.png
Binary files differ
diff --git a/colors/nord.vim b/colors/nord.vim
index 379fe6f..6281c77 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -185,7 +185,7 @@ endif
"+--- Gutter ---+
call s:hi("CursorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "")
if g:nord_cursor_line_number_background == 0
- call s:hi("CursorLineNr", s:nord3_gui, s:nord0_gui, "NONE", "", "", "")
+ call s:hi("CursorLineNr", s:nord4_gui, s:nord0_gui, "NONE", "", "", "")
else
call s:hi("CursorLineNr", s:nord4_gui, s:nord1_gui, "NONE", s:nord1_term, "", "")
endif