diff options
-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 | autoload/airline/themes/nord.vim | 26 | ||||
-rwxr-xr-x | colors/nord.vim | 40 |
5 files changed, 81 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/autoload/airline/themes/nord.vim b/autoload/airline/themes/nord.vim index 354f1fa..7840cce 100755 --- a/autoload/airline/themes/nord.vim +++ b/autoload/airline/themes/nord.vim @@ -45,24 +45,50 @@ let s:nord6_term = "15" let s:NMain = [s:nord1_gui, s:nord8_gui, s:nord1_term, s:nord8_term] let s:NRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] let s:NMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] +let s:NWarn = [s:nord1_gui, s:nord13_gui, s:nord3_term, s:nord13_term] +let s:NError = [s:nord0_gui, s:nord11_gui, s:nord1_term, s:nord11_term] let g:airline#themes#nord#palette.normal = airline#themes#generate_color_map(s:NMain, s:NRight, s:NMiddle) +let g:airline#themes#nord#palette.normal.airline_warning = s:NWarn +let g:airline#themes#nord#palette.normal.airline_error = s:NError let s:IMain = [s:nord1_gui, s:nord14_gui, s:nord1_term, s:nord6_term] let s:IRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] let s:IMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] +let s:IWarn = [s:nord1_gui, s:nord13_gui, s:nord3_term, s:nord13_term] +let s:IError = [s:nord0_gui, s:nord11_gui, s:nord1_term, s:nord11_term] let g:airline#themes#nord#palette.insert = airline#themes#generate_color_map(s:IMain, s:IRight, s:IMiddle) +let g:airline#themes#nord#palette.insert.airline_warning = s:IWarn +let g:airline#themes#nord#palette.insert.airline_error = s:IError let s:RMain = [s:nord1_gui, s:nord14_gui, s:nord1_term, s:nord14_term] let s:RRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] let s:RMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] +let s:RWarn = [s:nord1_gui, s:nord13_gui, s:nord3_term, s:nord13_term] +let s:RError = [s:nord0_gui, s:nord11_gui, s:nord1_term, s:nord11_term] let g:airline#themes#nord#palette.replace = airline#themes#generate_color_map(s:RMain, s:RRight, s:RMiddle) +let g:airline#themes#nord#palette.replace.airline_warning = s:RWarn +let g:airline#themes#nord#palette.replace.airline_error = s:RError let s:VMain = [s:nord1_gui, s:nord7_gui, s:nord1_term, s:nord7_term] let s:VRight = [s:nord1_gui, s:nord9_gui, s:nord1_term, s:nord9_term] let s:VMiddle = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] +let s:VWarn = [s:nord1_gui, s:nord13_gui, s:nord3_term, s:nord13_term] +let s:VError = [s:nord0_gui, s:nord11_gui, s:nord1_term, s:nord11_term] let g:airline#themes#nord#palette.visual = airline#themes#generate_color_map(s:VMain, s:VRight, s:VMiddle) +let g:airline#themes#nord#palette.visual.airline_warning = s:VWarn +let g:airline#themes#nord#palette.visual.airline_error = s:VError let s:IAMain = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] let s:IARight = [s:nord5_gui, s:nord3_gui, s:nord5_term, s:nord3_term] let s:IAMiddle = [s:nord5_gui, s:nord1_gui, s:nord5_term, s:nord1_term] +let s:IAWarn = [s:nord1_gui, s:nord13_gui, s:nord3_term, s:nord13_term] +let s:IAError = [s:nord0_gui, s:nord11_gui, s:nord1_term, s:nord11_term] let g:airline#themes#nord#palette.inactive = airline#themes#generate_color_map(s:IAMain, s:IARight, s:IAMiddle) +let g:airline#themes#nord#palette.inactive.airline_warning = s:IAWarn +let g:airline#themes#nord#palette.inactive.airline_error = s:IAError + +let g:airline#themes#nord#palette.normal.airline_term = s:NMiddle +let g:airline#themes#nord#palette.insert.airline_term = s:IMiddle +let g:airline#themes#nord#palette.replace.airline_term = s:RMiddle +let g:airline#themes#nord#palette.visual.airline_term = s:VMiddle +let g:airline#themes#nord#palette.inactive.airline_term = s:IAMiddle diff --git a/colors/nord.vim b/colors/nord.vim index 2b58b5c..fbd3deb 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 + @@ -288,6 +297,27 @@ hi! link PreCondit PreProc "+-----------+ "+ Languages + "+-----------+ +call s:hi("asciidocAttributeEntry", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("asciidocAttributeList", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("asciidocAttributeRef", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("asciidocHLabel", s:nord9_gui, "", s:nord9_term, "", "", "") +call s:hi("asciidocListingBlock", s:nord7_gui, "", s:nord7_term, "", "", "") +call s:hi("asciidocMacroAttributes", s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("asciidocOneLineTitle", s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("asciidocPassthroughBlock", s:nord9_gui, "", s:nord9_term, "", "", "") +call s:hi("asciidocQuotedMonospaced", s:nord7_gui, "", s:nord7_term, "", "", "") +call s:hi("asciidocTriplePlusPassthrough", s:nord7_gui, "", s:nord7_term, "", "", "") +hi! link asciidocAdmonition Keyword +hi! link asciidocAttributeRef markdownH1 +hi! link asciidocBackslash Keyword +hi! link asciidocMacro Keyword +hi! link asciidocQuotedBold Bold +hi! link asciidocQuotedEmphasized Italic +hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced +hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold +hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized +hi! link asciidocURL markdownLinkText + call s:hi("awkCharClass", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("awkPatterns", s:nord9_gui, "", s:nord9_term, "", "bold", "") hi! link awkArrayElement Identifier @@ -517,6 +547,8 @@ hi! link yamlDocumentStart Keyword " > w0rp/ale call s:hi("ALEWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("ALEErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("ALEWarning" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "") +call s:hi("ALEError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") " GitGutter " > airblade/vim-gitgutter @@ -562,6 +594,12 @@ call s:hi("plugDeleted", s:nord11_gui, "", "", s:nord11_term, "", "") call s:hi("SignatureMarkText", s:nord8_gui, "", s:nord8_term, "", "", "") "+--- Languages ---+ +" Haskell +" > neovimhaskell/haskell-vim +call s:hi("haskellPreProc", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("haskellType", s:nord7_gui, "", s:nord7_term, "", "", "") +hi! link haskellPragma haskellPreProc + " JavaScript " > pangloss/vim-javascript call s:hi("jsGlobalNodeObjects", s:nord8_gui, "", s:nord8_term, "", s:italic, "") |