From afa1c932b263d30b2341fad968706b87cf821585 Mon Sep 17 00:00:00 2001 From: "john.hennessey" Date: Tue, 4 Jun 2019 18:34:39 -0400 Subject: [PATCH 1/5] adds coc error gutter support --- colors/nord.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index 79842dce..3a69c782 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -566,6 +566,13 @@ call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("CocInfoSign" , s:nord8_gui, "", s:nord8_term, "", "", "") call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") +" Coc +" > neoclide/coc +call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") + " GitGutter " > airblade/vim-gitgutter call s:hi("GitGutterAdd", s:nord14_gui, "", s:nord14_term, "", "", "") From fab33d1ecfc4969a18142b0a615bbe140f098d49 Mon Sep 17 00:00:00 2001 From: Alexander Jeurissen <1220084+alexanderjeurissen@users.noreply.github.com> Date: Tue, 10 Mar 2020 06:12:41 +0100 Subject: [PATCH 2/5] Add nvim-lsp support (#198) Added highlighting support for the build-in Neovim language server [1] using the coc.nvim [2] groups as reference. [1]: https://github.com/neovim/nvim-lsp [2]: https://github.com/neoclide/coc.nvim --- colors/nord.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index 3a69c782..549dd07d 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -573,6 +573,13 @@ call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") +" Nvim LSP +" > neovim/nvim-lsp +call s:hi("LSPDiagnosticsWarning", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("LSPDiagnosticsError" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("LSPDiagnosticsInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("LSPDiagnosticsHint" , s:nord10_gui, "", s:nord10_term, "", "", "") + " GitGutter " > airblade/vim-gitgutter call s:hi("GitGutterAdd", s:nord14_gui, "", s:nord14_term, "", "", "") From ccad4325ec483f95d866f0da65f53e6c2445e4ac Mon Sep 17 00:00:00 2001 From: xulongwu4 Date: Tue, 28 Apr 2020 10:27:09 -0400 Subject: [PATCH 3/5] Consistent `Error` and MoreMsg highlight group consistent between console and GUI modes. (#202) Consistent `Error` and `MoreMsg` highligh. in term and GUI mode (#202) Before the `Error` group in GUI mode used `nord0` as foreground color instead of `nord4` resulting in a bad contrast. Also after checking ( links to it) Also since there was also no color defined for terminal mode for the `MoreMsg` group (see `:help MoreMsg` that link to `:help more-prompt`) Vim used the default color which was some kind of green. To ensure it matches Nord's style it has now been changed to use `nord8` (main accent color) for both terminal and GUI mode. This can be tested by running `:echon "MESSAGE\n"` taht produces a lot of lines that won't fit on the current screen space anymore. Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb --- colors/nord.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index 549dd07d..0ba4416d 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -168,7 +168,7 @@ call s:hi("Underline", "", "", "", "", s:underline, "") call s:hi("ColorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "") call s:hi("Cursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "") call s:hi("CursorLine", "", s:nord1_gui, "NONE", s:nord1_term, "NONE", "") -call s:hi("Error", s:nord0_gui, s:nord11_gui, "", s:nord11_term, "", "") +call s:hi("Error", s:nord4_gui, s:nord11_gui, "", s:nord11_term, "", "") call s:hi("iCursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "") call s:hi("LineNr", s:nord3_gui, s:nord0_gui, s:nord3_term, "NONE", "", "") call s:hi("MatchParen", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") @@ -234,7 +234,7 @@ call s:hi("Directory", s:nord8_gui, "", s:nord8_term, "NONE", "", "") call s:hi("EndOfBuffer", s:nord1_gui, "", s:nord1_term, "NONE", "", "") call s:hi("ErrorMsg", s:nord4_gui, s:nord11_gui, "NONE", s:nord11_term, "", "") call s:hi("ModeMsg", s:nord4_gui, "", "", "", "", "") -call s:hi("MoreMsg", s:nord4_gui, "", "", "", "", "") +call s:hi("MoreMsg", s:nord8_gui, "", s:nord8_term, "", "", "") call s:hi("Question", s:nord4_gui, "", "NONE", "", "", "") if g:nord_uniform_status_lines == 0 call s:hi("StatusLine", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "NONE", "") From e420e7f38db7fd8a5433237d7839b6a39e6feac3 Mon Sep 17 00:00:00 2001 From: xulongwu4 Date: Thu, 7 May 2020 03:21:20 -0400 Subject: [PATCH 4/5] Use transparent background for gutter line number in GUI mode (#204) The `LineNr` and `CursorLineNr` highlight groups now have a transparent background in GUI mode. Before it was set to `nord0_gui` which worked fine in most cases. However, some plugins use these highlight groups to render their content in a popup window which can potentially have a different background color. This caused some issues e.g. for the fuzzy search plugin LeaderF [1]. The compatibility with the `g:nord_cursor_line_number_background` theme configuration has been verified to work as expected in both modes when it is set to `0` or `1`. This change is not related to the terminal mode or when using `set notermguicolors` since `ctermbg` for `LineNr` and `CursorLineNr` is set to `NONE` by default. [1]: https://github.com/Yggdroot/LeaderF --- colors/nord.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index 0ba4416d..6b4054ee 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -170,7 +170,7 @@ call s:hi("Cursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "") call s:hi("CursorLine", "", s:nord1_gui, "NONE", s:nord1_term, "NONE", "") call s:hi("Error", s:nord4_gui, s:nord11_gui, "", s:nord11_term, "", "") call s:hi("iCursor", s:nord0_gui, s:nord4_gui, "", "NONE", "", "") -call s:hi("LineNr", s:nord3_gui, s:nord0_gui, s:nord3_term, "NONE", "", "") +call s:hi("LineNr", s:nord3_gui, "NONE", s:nord3_term, "NONE", "", "") call s:hi("MatchParen", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") call s:hi("NonText", s:nord2_gui, "", s:nord3_term, "", "", "") call s:hi("Normal", s:nord4_gui, s:nord0_gui, "NONE", "NONE", "", "") @@ -219,7 +219,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:nord4_gui, s:nord0_gui, "NONE", "", "NONE", "") + call s:hi("CursorLineNr", s:nord4_gui, "", "NONE", "", "NONE", "") else call s:hi("CursorLineNr", s:nord4_gui, s:nord1_gui, "NONE", s:nord1_term, "NONE", "") endif From 9a2cebb1cb417e350f3ecf5881b51957d09e45c1 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 16 Jun 2020 07:55:20 +0200 Subject: [PATCH 5/5] Release version 0.14.0 --- CHANGELOG.md | 49 ++++++++++++++++++++++++- autoload/airline/themes/nord.vim | 2 +- autoload/lightline/colorscheme/nord.vim | 2 +- colors/nord.vim | 2 +- 4 files changed, 50 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3d12568..f8aba596 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,45 @@ +# 0.14.0 + +![Release Date: 2020-06-16](https://img.shields.io/badge/Release_Date-2020--06--16-88C0D0.svg?style=flat-square) [![Project Board](https://img.shields.io/badge/Project_Board-0.14.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-vim/projects/20) [![Milestone](https://img.shields.io/badge/Milestone-0.14.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-vim/milestone/16) + +## Features + +### UI + +**Basic support for nvim-lsp (Language Server Protocol)** — #198 (⊶ 0ccf70b6) by [@alexanderjeurissen][gh-user-alexanderjeurissen] +↠ Added basic support for [nvim-lsp][neovim/nvim-lsp], a collection of common configurations for the NVim language server protocol client. + +## Improvements + +### UI + +**Consistent error highlighting between GUI and terminal mode** — #202 (⊶ 974a9190) by [@xulongwu4][gh-user-xulongwu4] +↠ The highlighting of errors in GUI and _true color_ terminal mode now also uses `nord4` as foreground color of instead of `nord0`. + +

Before

+

+

After

+

+ +**Improved highlighting for “More“ separator** — #202 (⊶ 974a9190) by [@xulongwu4][gh-user-xulongwu4] +↠ The highlighting of the _More_ separator is now highlighted with the `nord8` accent color. + +

Before

+

+

After

+

+ +**Transparent line number and cursor line background by default** — #204 (⊶ 6323f662) by [@xulongwu4][gh-user-xulongwu4] +↠ Before the background color of the `LineNr` and `CursorLineNr` highlighting groups were set to `nord0` which was fine in most cases, but conflicted with plugins like [Yggdroot/LeaderF][] that renders line numbers in a popup windows with a different background color. + +

Before

+

+

After

+

+ # 0.13.0 ![Release Date: 2019-12-17](https://img.shields.io/badge/Release_Date-2019--12--17-88C0D0.svg?style=flat-square) [![Project Board](https://img.shields.io/badge/Project_Board-0.13.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-vim/projects/19) [![Milestone](https://img.shields.io/badge/Milestone-0.13.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-vim/milestone/15) @@ -237,8 +276,6 @@ The README includes information and hints how to change the separator character The default comment color has been adjusted so the configuration is not required anymore for users to increase the brightness on their own. To notify users about this change a deprecation warning will be shown when the `g:nord_comment_brightness` configuration variable has been set and initialized through the user's configuration. -## Improvements - **Improved compatibility of airline with tmuxline.vim plugin** — #117 ⇄ #128 (⊶ 3150628f) ↠ The [Nord airline.vim][gh-src-airline] UI plugin theme now includes better support for the [tmuxline.vim][gh-tmuxline.vim] plugin. Previously text shown in the main segment of the _tmuxline_, generated via the `:Tmuxline airline` command, caused a `bad colour: NONE` error or has been colorized using `nord0` which resulted in unreadable text due to a `nord3` background. @@ -775,6 +812,7 @@ Detailed information about features, supported plugins/languages and install ins [gh-user-aborzunov]: https://github.com/aborzunov [gh-user-tobydeh]: https://github.com/tobydeh +[nord-docs#143]: https://github.com/arcticicestudio/nord-docs/issues/143 @@ -791,3 +829,10 @@ Detailed information about features, supported plugins/languages and install ins [vim/vim-diff#d9b0d83b...017ba07f]: https://github.com/vim/vim/compare/d9b0d83b13d2691e4544709abd87eac004715175...017ba07fa2cdc578245618717229444fd50c470d#diff-80fffb3e9c20e93e5b2328a9a20e19c [vim/vim-rel-v8.1.2029]: https://github.com/vim/vim/releases/tag/v8.1.2029 [vim/vim#4933]: https://github.com/vim/vim/pull/4933 + + + +[gh-user-alexanderjeurissen]: https://github.com/alexanderjeurissen +[gh-user-xulongwu4]: https://github.com/xulongwu4 +[neovim/nvim-lsp]: https://github.com/neovim/nvim-lsp +[yggdroot/leaderf]: https://github.com/Yggdroot/LeaderF diff --git a/autoload/airline/themes/nord.vim b/autoload/airline/themes/nord.vim index 3ab5fee4..6cbde1f9 100755 --- a/autoload/airline/themes/nord.vim +++ b/autoload/airline/themes/nord.vim @@ -5,7 +5,7 @@ " Repository: https://github.com/arcticicestudio/nord-vim " License: MIT -let s:nord_vim_version="0.13.0" +let s:nord_vim_version="0.14.0" let g:airline#themes#nord#palette = {} let s:nord0_gui = "#2E3440" diff --git a/autoload/lightline/colorscheme/nord.vim b/autoload/lightline/colorscheme/nord.vim index b81e793b..201f16d6 100755 --- a/autoload/lightline/colorscheme/nord.vim +++ b/autoload/lightline/colorscheme/nord.vim @@ -5,7 +5,7 @@ " Repository: https://github.com/arcticicestudio/nord-vim " License: MIT -let s:nord_vim_version="0.13.0" +let s:nord_vim_version="0.14.0" let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} let s:nord0 = ["#2E3440", "NONE"] diff --git a/colors/nord.vim b/colors/nord.vim index 6b4054ee..056289bc 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -13,7 +13,7 @@ if version > 580 endif let g:colors_name = "nord" -let s:nord_vim_version="0.13.0" +let s:nord_vim_version="0.14.0" set background=dark let s:nord0_gui = "#2E3440"