diff options
author | Arctic Ice Studio <development@arcticicestudio.com> | 2019-04-15 13:22:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-15 13:22:18 +0200 |
commit | 9059d7d8431f2db2eea46cb7ede962b102ba1911 (patch) | |
tree | 32a8e7a6f24bdc606e9b1853195a413af2688474 | |
parent | d2774cbb8b1b902557316f0a72841546b3416aa8 (diff) | |
parent | 1ddc782e1efb627bb67d5b5598ee0e0a156bb03a (diff) | |
download | nord-vim-9059d7d8431f2db2eea46cb7ede962b102ba1911.tar.gz |
Merge pull request #153 from arcticicestudio/feature/gh-132-bold-vertical-split-line-config
Theme config for bolder vertical split line
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | assets/scrot-config-bold-vertical-split-line-default.png | bin | 0 -> 20347 bytes | |||
-rw-r--r-- | assets/scrot-config-bold-vertical-split-line.png | bin | 0 -> 20260 bytes | |||
-rwxr-xr-x | colors/nord.vim | 11 |
4 files changed, 26 insertions, 1 deletions
@@ -26,6 +26,7 @@ Nord Vim is a 16 colorspace theme build to run in GUI- and terminal mode with su - [Comment Contrast](#comment-contrast) - [Uniform diff Background](#uniform-diff-background) - [Line number background](#line-number-background) + - [Bold Vertical Split Line](#bold-vertical-split-line) - [Plugin Support](#plugin-support) - [UI Plugins](#ui-plugins) - [Language Plugins](#language-plugins) @@ -259,6 +260,20 @@ 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> +### Bold Vertical Split Line + +Enables a bolder vertical split line by using `nord1` as background. + +```viml +let g:nord_bold_vertical_split_line = 1 +``` + +To change the separator character used to display the vertical line please see the documentation about Vim's [`fillchars`][vdoc-fillchars] variable: `:help fillchars` + +<p align="center"><strong>With base editor background (default)</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-bold-vertical-split-line-default.png"/></p> + +<p align="center"><strong>With enabled bold <code>nord1</code> background</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-bold-vertical-split-line.png"/></p> + ## Plugin Support Nord Vim provides support for many third-party language- and UI plugins. @@ -332,3 +347,4 @@ Please report issues/bugs, feature requests and suggestions for improvements to [scrot-lang-ruby]: https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-lang-ruby.png [scrot-readme-default-profile]: https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-readme-default-profile.png [scrot-readme-lazy-profile-change]: https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-readme-lazy-profile-change.png +[vdoc-fillchars]: http://vimdoc.sourceforge.net/htmldoc/options.html#'fillchars' diff --git a/assets/scrot-config-bold-vertical-split-line-default.png b/assets/scrot-config-bold-vertical-split-line-default.png Binary files differnew file mode 100644 index 0000000..bbda688 --- /dev/null +++ b/assets/scrot-config-bold-vertical-split-line-default.png diff --git a/assets/scrot-config-bold-vertical-split-line.png b/assets/scrot-config-bold-vertical-split-line.png Binary files differnew file mode 100644 index 0000000..05d9104 --- /dev/null +++ b/assets/scrot-config-bold-vertical-split-line.png diff --git a/colors/nord.vim b/colors/nord.vim index 1bbfaf8..9b4ad25 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -122,6 +122,10 @@ if !exists("g:nord_cursor_line_number_background") let g:nord_cursor_line_number_background = 0 endif +if !exists("g:nord_bold_vertical_split_line") + let g:nord_bold_vertical_split_line = 0 +endif + function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) if a:guifg != "" exec "hi " . a:group . " guifg=" . a:guifg @@ -248,7 +252,12 @@ call s:hi("TabLineSel", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "N "+--- Window ---+ call s:hi("Title", s:nord4_gui, "", "NONE", "", "NONE", "") -call s:hi("VertSplit", s:nord2_gui, s:nord1_gui, s:nord3_term, s:nord1_term, "NONE", "") + +if g:nord_bold_vertical_split_line == 0 + call s:hi("VertSplit", s:nord2_gui, s:nord0_gui, s:nord3_term, "NONE", "NONE", "") +else + call s:hi("VertSplit", s:nord2_gui, s:nord1_gui, s:nord3_term, s:nord1_term, "NONE", "") +endif "+----------------------+ "+ Language Base Groups + |