aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Arctic Ice Studio <development@arcticicestudio.com>2017-09-28 15:24:53 +0200
committerGravatar Arctic Ice Studio <development@arcticicestudio.com>2017-09-28 15:24:53 +0200
commit7bdc220cf6941f133c62c797612a0c96a9c6acd7 (patch)
treeb7306874376d9884ed474d650843bcb0d8efd730 /README.md
parent0992126892c8d98a150375327182d106bf609f09 (diff)
downloadnord-vim-7bdc220cf6941f133c62c797612a0c96a9c6acd7.tar.gz
Implement uniform diff background theme config
Added a theme configuration to let the users decide whether they want to use colorful or uniform diff backgrounds. The colorful diff is the default using the current colors for added, changed and deleted elements and the default background color (nord0). The "reverse" attribute gets applied which results in a colored background and a dark foreground. Setting the "g:nord_uniform_diff_background" variable to "1" enables the uniform diff background using "nord1". GH-60
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4917782..707d713 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ Nord Vim is a 16 colorspace theme build to run in GUI- and terminal mode with su
- [Configuration](#configuration)
- [Italic comments](#italic-comments)
- [Comment contrast](#comment-contrast)
+ - [Uniform diff background](#uniform-diff-background)
- [Plugin Support](#plugin-support)
- [UI Plugins](#ui-plugins)
- [Language Plugins](#language-plugins)
@@ -132,8 +133,20 @@ To adhere to the Nord style guide this option uses `nord3` by default.
More information about true color and the support in various terminals can be found in [this gist][gist-true-color].
+### Uniform diff background
+By default, Nord Vim provides colorful backgrounds when used in *diff* mode `vimdiff`/`vim -d`.
+
+This can be changed to `nord1` as uniform *diff* background color by setting the `g:nord_uniform_diff_background` variable to `1`.
+
+```vim
+let g:nord_uniform_diff_background = 1
+```
+
+<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-default.png"/>
+</p>
+
## Plugin Support
-Nord Vim provides support for many third-party language- and the UI plugins.
+Nord Vim provides support for many third-party language- and UI plugins.
### UI Plugins
<p align="center"><a href="https://github.com/itchyny/lightline.vim">lightline</a><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-plugin-support-ui-lightline.png"/><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-plugin-support-ui-lightline-vsplit.png"/></p>