From 5867535cea7bb6b4c219fa0726c93e4b055debd2 Mon Sep 17 00:00:00 2001 From: Jan Damm Date: Sun, 2 May 2021 11:35:08 +0200 Subject: [PATCH 01/16] Add public API function to get Nord colors (#224) Implemented the `NordPalette` pubic API function that returns all Nord colors as dictionary. This allows to use the colors in other Vim scripts without the need to copy & paste the colors from the documentations or the Nord Vim theme sources. Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb Closes GH-224 --- colors/nord.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index 5a251dae..13d9182d 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -772,3 +772,17 @@ hi! link VimwikiList markdownListMarker " YAML " > stephpy/vim-yaml call s:hi("yamlKey", s:nord7_gui, "", s:nord7_term, "", "", "") + +"+------------+ +"+ Public API + +"+------------+ +"+--- Functions ---+ + +function! NordPalette() abort + let ret = {} + for color in range(16) + execute 'let ret["nord'.color.'"] = s:nord'.color.'_gui' + endfor + let ret["nord3_bright"] = s:nord3_gui_bright + return ret +endfunction From f3f28b939fd57fb772f4c7c56a0061536057656e Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sat, 29 May 2021 00:24:26 +0200 Subject: [PATCH 02/16] Conceal highlighting group support (#261) The `Conceal` group was not supported which could have led to rendering problems for (Unicode) characters that require special encoding like the ones from the Greek alphabet [1] that are often used in LaTeX [3] or Pandoc [4] documents. These characters were highlighted with the default background color which makes them kind of unreadable with the theme foreground color. See `:help conceal` and `:help concealcursor` for more details about concealing in Vim. To fix the problem, the `Conceal` group has been added with its background color set to `NONE` for GUI and terminal mode to either use the terminal default background color or let loaded scripts apply custom styles based on the current runtime context. The problem has been reported in GH-149, GH-207 and GH-211 with LaTeX and Pandoc being used by the reporters. PR GH-220 adds support for vim-pandoc/vim-pandoc-syntax [5] specific highlighting groups and can be merged after adding basic support for `Conceal`. [1]: https://en.wikipedia.org/wiki/Greek_alphabet [2]: https://www.overleaf.com/learn/latex/mathematical_expressions [3]: https://www.latex-project.org [4]: https://pandoc.org [5]: https://github.com/vim-pandoc/vim-pandoc-syntax Co-authored-by: Sven Greb Closes GH-256 --- colors/nord.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/colors/nord.vim b/colors/nord.vim index 13d9182d..deac972c 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -274,6 +274,7 @@ endif call s:hi("Boolean", s:nord9_gui, "", s:nord9_term, "", "", "") call s:hi("Character", s:nord14_gui, "", s:nord14_term, "", "", "") call s:hi("Comment", s:nord3_gui_bright, "", s:nord3_term, "", s:italicize_comments, "") +call s:hi("Conceal", "", "NONE", "", "NONE", "", "") call s:hi("Conditional", s:nord9_gui, "", s:nord9_term, "", "", "") call s:hi("Constant", s:nord4_gui, "", "NONE", "", "", "") call s:hi("Define", s:nord9_gui, "", s:nord9_term, "", "", "") From a3af928ad5c107a229c287ee2e561935737b7eb7 Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Sat, 29 May 2021 10:08:25 -0300 Subject: [PATCH 03/16] Update highlights for Neovim LSP diagnostics (#229) To ensure compatibility with the latest versions of Neovim LSP the highlighting groups for diagnostics have been adapted to the changes of neovim/neovim#12655 [1]. See :help lsp-highlight-diagnostics [2] for more details. Note that LSP will be available as of Neovim 0.5 which is (at the time of this commit) still in development and only available as nighly build. Also see great articles from Nord Vim contributors like "Neovim (0.5) Is Overpowering" [3] for more information about Neovim 0.5 features, including LSP. [1]: https://github.com/neovim/neovim/pull/12655 [2]: https://neovim.io/doc/user/lsp.html [3]: https://crispgm.com/page/neovim-is-overpowering.html Co-authored-by: Sven Greb Closes GH-229 Closes GH-248 --- colors/nord.vim | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index deac972c..234ecbee 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -572,12 +572,16 @@ 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, "", "", "") -" 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, "", "", "") +" Neovim LSP +" > neovim/nvim-lspconfig +call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("LspDiagnosticsDefaultHint" , s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("LspDiagnosticsUnderlineWarning" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "") +call s:hi("LspDiagnosticsUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") +call s:hi("LspDiagnosticsUnderlineInformation" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") +call s:hi("LspDiagnosticsUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") " GitGutter " > airblade/vim-gitgutter From e5a54c7f0928de8b89bc00eea4dfeeb179f546e4 Mon Sep 17 00:00:00 2001 From: Martin Kunz Date: Sun, 30 May 2021 23:27:14 +0200 Subject: [PATCH 04/16] Fix typo in group names (#252) Fixed two typos in group names: - `PMenuSel` -> `PmenuSel` - `PMenu` -> `Pmenu` This mismatch was never really noticed because most of the time users rely on plugins like coc [1] or vim-clap [2] which come with custom highlighting groups and UI libraries. [1]: https://github.com/neoclide/coc.nvim [2]: https://github.com/liuchengxu/vim-clap 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 234ecbee..634ff67b 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -174,9 +174,9 @@ 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", "", "") -call s:hi("PMenu", s:nord4_gui, s:nord2_gui, "NONE", s:nord1_term, "NONE", "") +call s:hi("Pmenu", s:nord4_gui, s:nord2_gui, "NONE", s:nord1_term, "NONE", "") call s:hi("PmenuSbar", s:nord4_gui, s:nord2_gui, "NONE", s:nord1_term, "", "") -call s:hi("PMenuSel", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") +call s:hi("PmenuSel", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "", "") call s:hi("PmenuThumb", s:nord8_gui, s:nord3_gui, "NONE", s:nord3_term, "", "") call s:hi("SpecialKey", s:nord3_gui, "", s:nord3_term, "", "", "") call s:hi("SpellBad", s:nord11_gui, s:nord0_gui, s:nord11_term, "NONE", "undercurl", s:nord11_gui) From 07452c71285219f296191941687531858a2f06c4 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Wed, 9 Jun 2021 21:28:26 +0200 Subject: [PATCH 05/16] Support for `php.vim` plugin (#263) This is a follow up for arcticicestudio/nord-vim#218 [1] which added highlighting groups for the bundled PHP syntax, but the groups are actually defined by the StanAngeloff/php.vim [2] plugin. Therefore the added highlighting calls will be moved to a plugin section. Additionally, the `phpClassExtends` and `phpClassImplements` groups have been added to improve the highlighting for classes that implement or extended interfaces/classes. The `phpUseClass` has also been added to improve the highlighting for imports. [1]: https://github.com/arcticicestudio/nord-vim/pull/218 [2]: https://github.com/StanAngeloff/php.vim Related to GH-218 Closes GH-262 Co-authored-by: Sven Greb --- colors/nord.vim | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index 634ff67b..2450ef7b 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -470,12 +470,9 @@ hi! link markdownHeadingDelimiter Keyword call s:hi("perlPackageDecl", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("phpClasses", s:nord7_gui, "", s:nord7_term, "", "", "") -call s:hi("phpClass", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("phpDocTags", s:nord7_gui, "", s:nord7_term, "", "", "") hi! link phpDocCustomTags phpDocTags hi! link phpMemberSelector Keyword -hi! link phpMethod Function -hi! link phpFunction Function call s:hi("podCmdText", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("podVerbatimLine", s:nord4_gui, "", "NONE", "", "", "") @@ -755,6 +752,15 @@ hi! link mkdLinkDefTarget mkdURL hi! link mkdLinkTitle mkdInlineURL hi! link mkdDelimiter Keyword +" PHP +" > StanAngeloff/php.vim +call s:hi("phpClass", s:nord7_gui, "", s:nord7_term, "", "", "") +call s:hi("phpClassImplements", s:nord7_gui, "", s:nord7_term, "", s:bold, "") +hi! link phpClassExtends phpClass +hi! link phpFunction Function +hi! link phpMethod Function +hi! link phpUseClass phpClass + " Vimwiki " > vimwiki/vimwiki if !exists("g:vimwiki_hl_headers") || g:vimwiki_hl_headers == 0 From a2d1bcc66806ad8f39e1a598bb963dd8fcae7473 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Wed, 9 Jun 2021 21:47:22 +0200 Subject: [PATCH 06/16] Release version 0.16.0 --- CHANGELOG.md | 197 +++++++++++++++++++++--- autoload/airline/themes/nord.vim | 2 +- autoload/lightline/colorscheme/nord.vim | 2 +- colors/nord.vim | 2 +- 4 files changed, 182 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75c53c9b..561ed9d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,139 @@ -

+

-

+

-

Changelog for Nord Vim — An arctic, north-bluish clean and elegant Vim color theme.

+

Changelog for Nord Vim — An arctic, north-bluish clean and elegant Vim color theme.

+# 0.16.0 + +![Release Date: 2021-06-09](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-06-09&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.16.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/projects/22) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.16.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/milestone/18) + +⇅ [Show all commits][gh-compare-tag-v0.15.0_v0.16.0] + +## Features + +### API + +
+Public API function NordPalette to get Nord colors — #224 (⊶ 5867535c) by @jandamm + +↠ Implemented a new `NordPalette` pubic API function that returns all [Nord colors][docs-colors] as dictionary. This allows to use the colors in other Vim scripts without the need to copy & paste the colors from the documentations or the [Nord Vim theme sources][blob-master-colors/nord.vim]. + +
+ +### Syntax + +
+Support for the php.vim plugin — #218, #262 ⇄ #263 (⊶ b3c46c87, 07452c71) by @pirey + +↠ In [arcticicestudio/nord-vim#218][1] new highlighting groups for the bundled PHP syntax were added to improve the highlighting of classes, function and methods and the overall syntax token detection, but they are actually defined by the [php.vim][stanangeloff/php.vim] plugin. Therefore the added highlighting calls have been moved to a plugin section. +Additionally, the `phpClassExtends` and `phpClassImplements` groups have been added to improve the highlighting for classes that implement or extended interfaces/classes. The `phpUseClass` has also been added to improve the highlighting for imports. + +To improve the highlighting with the bundled PHP syntax, the [following options][vim-docs#php_syntax] can be set: + +```vim +let php_asp_tags = 1 +let php_baselib = 1 +let php_htmlInStrings = 1 +let php_parent_error_close = 1 +let php_parent_error_open = 1 +``` + +

Before

+

+ +

After

+

+ +
+ +
+Conceal highlighting group support — #149, #207, #211, #256 ⇄ #261 (⊶ f3f28b93) + +↠ The `Conceal` group is was not supported which could resulted in rendering problems for (Unicode) characters that require special encoding like the ones from the [Greek alphabet][wikip-greek_alphabet] and [mathematical expressions][overleaf-latex-learn-math_expr] that are often used in [LaTeX][latex] or [Pandoc][pandoc] documents. These characters were highlighted with the default background color which made them kind of unreadable with the theme foreground color. +See `:help conceal` and `:help concealcursor` for more details about concealing in Vim. + +To fix the problem, the `Conceal` group has been added with its background color set to `NONE` for GUI and terminal mode to either use the terminal default background color or let loaded scripts apply custom styles based on the current runtime context. + +The problem has been reported in #149, #207 and #211 with LaTeX and Pandoc being used by the reporters. PR #220 adds support for [vim-pandoc/vim-pandoc-syntax][vim-pandoc/vim-pandoc-syntax] specific highlighting groups and can be merged after adding basic support for `Conceal`. + +To get the correct rendering for such elements the following configurations must be set: + +```vim +let g:pandoc#syntax#conceal#use = 1 +set conceallevel=2 +``` + +

Before

+

+ +

After

+

+ +
+ +
+Updated highlights for Neovim LSP diagnostics — #229, #248 (⊶ a3af928a) by @gbrlsnchs and @thallium + +↠ To ensure compatibility with the latest versions of Neovim LSP the highlighting groups for diagnostics have been adapted to the changes of [neovim/neovim#12655][]. +See [`:help lsp-highlight-diagnostics`][neovim-docs-lsp] for more details. + +Note that LSP will be available as of [Neovim 0.5][neovim/neovim-ms#19] which is (at the time of this commit) still in development and only available as nightly build. +Also see great articles from Nord Vim contributors like [“Neovim (0.5) Is Overpowering“][crispgm-blog-neovim_overpowering] for more information about Neovim 0.5 features, including LSP. + +Thanks to [@clason][gh-user-clason], [@crispgm][gh-user-crispgm] and [@ojroques][gh-user-ojroques] for the review support! + +
+ +### UI + +
+Support for the vim-indent-guides plugin — #186 ⇄ #226 (⊶ ea7ff9c3) by @mitinarseny + +↠ Added support for the [vim-indent-guides][nathanaelkane/vim-indent-guides] plugin. The even and odd highlighting blocks using `nord1` and `nord2` (`nord3`in terminal mode) to provide a subtle and non-disturbing style. +Note that the [custom theme colors][nathanaelkane/vim-indent-guides#custom_color] are only applied when the `indent_guides_auto_colors` variable has been set to `0`: + +```vim +let g:indent_guides_auto_colors = 0 +``` + +

Before

+

+ +

After

+

+ +
+ +## Improvements + +### UI + +
+coc.vim error and warning highlighting — #213 (⊶ 8a9754ce) by @butterywombat + +↠ Added the [coc.nvim][nathanaelkane/vim-indent-guides] highlighting groups for errors and warnings using their respective foreground colors and the `undercurl` font style. + +
+ +## Bug Fixes + +### UI + +
+Typo in group Pmenu group names — #252 (⊶ e5a54c7f) by @kunzaatko + +↠ Fixed two typos in `Pmenu` group names: + +- `PMenuSel` -> `PmenuSel` +- `PMenu` -> `Pmenu` + +This mismatch was never really noticed because most of the time users rely on plugins like [coc.vim][neoclide/coc.nvim] or [vim-clap][liuchengxu/vim-clap] which come with custom highlighting groups and UI libraries. + +
+ # 0.15.0 ![Release Date: 2020-07-06](https://img.shields.io/badge/Release_Date-2020--07--06-88C0D0.svg?style=flat-square) [![Project Board](https://img.shields.io/badge/Project_Board-0.15.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-vim/projects/21) [![Milestone](https://img.shields.io/badge/Milestone-0.15.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-vim/milestone/17) @@ -19,29 +147,29 @@ This provides, among many other good changes, better highlighting for syntax elements like [decorators][ts-docs-decorators], more granular separation of different language elements within a single code line as well as highlighting for…

…interfaces with bold font style, typing characters and types.

-

+

…global methods like setTimeout with italic font style.

-

+

…regular expressions with nord13 instead of the normal color for quoted strings.

-

+

…global elements like Error, JSON and console.

-

+

…brackets of types as structural elements.

-

+

…TSX/JSX and HTML with a consistent appearance.

-

+

### UI **Support for vim-clap** — #178 (⊶ 7a52f66c) by [@meck][gh-user-meck] and [@ikalnytskyi][gh-user-ikalnytskyi] ↠ Added basic support for [vim-clap][liuchengxu/vim-clap], a modern and performant generic finder and dispatcher for Vim and NeoVim. -

+

# 0.14.0 @@ -773,6 +901,13 @@ Detailed information about features, supported plugins/languages and install ins ![Release Date: 2016-12-25](https://img.shields.io/badge/Release_Date-2016--12--25-88C0D0.svg?style=flat-square) - + - + [asciidoc]: https://asciidoctor.org [gh-11]: https://github.com/arcticicestudio/nord-vim/issues/11 @@ -798,6 +934,7 @@ Detailed information about features, supported plugins/languages and install ins [itchyny/lightline-adv-config]: https://github.com/itchyny/lightline.vim#advanced-configuration [itchyny/lightline.vim-gh-257]: https://github.com/itchyny/lightline.vim/pull/257 [lesscss-doc-fn-lighten]: http://lesscss.org/functions/#color-operations-lighten +[neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim [nord-atom-syntax-pr-47]: https://github.com/arcticicestudio/nord-atom-syntax/pull/47 [nord-config-port-vim#uni_st_line]: https://www.nordtheme.com/docs/ports/vim/configuration#uniform-status-lines [nord-docs-config-font-bold]: https://www.nordtheme.com/ports/vim/configuration#bold-styles @@ -827,7 +964,7 @@ Detailed information about features, supported plugins/languages and install ins [vim-doc-diffadd]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#hl-DiffAdd [yaml]: http://yaml.org - + [cmake-doc-genexpr]: https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html [gh-user-axelitus]: https://github.com/axelitus @@ -845,13 +982,13 @@ Detailed information about features, supported plugins/languages and install ins [rustdoc-macros]: https://doc.rust-lang.org/1.8.0/book/macros.html [rustdoc-traits]: https://doc.rust-lang.org/book/ch10-02-traits.html - + [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 - + [arcticicestudio/nord-vim#58]: https://github.com/arcticicestudio/nord-vim/pull/58 [gh-rel-v0.7.0]: https://github.com/arcticicestudio/nord-vim/releases/tag/v0.7.0 @@ -861,20 +998,19 @@ Detailed information about features, supported plugins/languages and install ins [gh-user-nixtrace]: https://github.com/nixtrace [gh-user-vasilescur]: https://github.com/vasilescur [mhinz/vim-startify]: https://github.com/mhinz/vim-startify -[neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim [nord-config-port-vim#uni_st_line]: https://www.nordtheme.com/docs/ports/vim/configuration#uniform-status-lines [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 - + [gh-user-iamdidev]: https://github.com/iamdidev [gh-user-ikalnytskyi]: https://github.com/ikalnytskyi @@ -883,3 +1019,28 @@ Detailed information about features, supported plugins/languages and install ins [ts-docs-decorators]: https://www.typescriptlang.org/docs/handbook/decorators.html [ts-docs-jsx]: https://www.typescriptlang.org/docs/handbook/jsx.html [typescript]: https://www.typescriptlang.org + + + +[arcticicestudio/nord-vim#218]: https://github.com/arcticicestudio/nord-vim/pull/218 +[blob-master-colors/nord.vim]: https://github.com/arcticicestudio/nord-vim/blob/master/colors/nord.vim +[crispgm-blog-neovim_overpowering]: https://crispgm.com/page/neovim-is-overpowering.html +[docs-colors]: https://www.nordtheme.com/docs/colors-and-palettes +[gh-compare-tag-v0.15.0_v0.16.0]: https://github.com/arcticicestudio/nord-vim/compare/v0.15.0...v0.16.0 +[gh-user-clason]: https://github.com/clason +[gh-user-crispgm]: https://github.com/crispgm +[gh-user-ojroques]: https://github.com/ojroques +[latex]: https://www.latex-project.org +[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap +[nathanaelkane/vim-indent-guides]: https://github.com/nathanaelkane/vim-indent-guides +[nathanaelkane/vim-indent-guides#custom_color]: https://github.com/nathanaelkane/vim-indent-guides#setting-custom-indent-colors +[neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim +[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html +[neovim/neovim-ms#19]: https://github.com/neovim/neovim/milestone/19 +[neovim/neovim#12655]: https://github.com/neovim/neovim#12655 +[overleaf-latex-learn-math_expr]: https://www.overleaf.com/learn/latex/mathematical_expressions +[pandoc]: https://pandoc.org +[stanangeloff/php.vim]: https://github.com/StanAngeloff/php.vim +[vim-docs#php_syntax]: https://vimhelp.org/syntax.txt.html#ft%2dphp%2dsyntax +[vim-pandoc/vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax +[wikip-greek_alphabet]: https://en.wikipedia.org/wiki/Greek_alphabet diff --git a/autoload/airline/themes/nord.vim b/autoload/airline/themes/nord.vim index 38d3add6..525f0d6d 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.15.0" +let s:nord_vim_version="0.16.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 fceb189f..ce58e5fd 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.15.0" +let s:nord_vim_version="0.16.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 2450ef7b..c7ad0705 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.15.0" +let s:nord_vim_version="0.16.0" set background=dark let s:nord0_gui = "#2E3440" From b3e712a9943e950daea9d17d966014e843bfba00 Mon Sep 17 00:00:00 2001 From: Ferran Jovell <3410779+mrswats@users.noreply.github.com> Date: Sat, 10 Jul 2021 12:24:11 +0200 Subject: [PATCH 07/16] Add support for nvim-treesitter/nvim-treesitter (#253) Neovim version 0.5 [1] is a long-time awaited update that introduces features like tree-sitter [2][3] support and native LSP [4][5]. Even though Neovim devides more and more from Vim through specific features like first-class Lua support with custom APIs, the highlighting for tree-sitter is achived through "normal" syntax highlighting groups. Most of the groups are already linked by the nvim-treesitter plugin by default [6] so only a few groups have been adjuated for now to fit the Nord style. [1]: https://github.com/neovim/neovim/releases/tag/v0.5.0 [2]: https://github.com/tree-sitter/tree-sitter [3]: https://github.com/nvim-treesitter/nvim-treesitter [4]: https://neovim.io/doc/user/lsp.html [5]: https://github.com/neovim/nvim-lspconfig [6]: https://github.com/nvim-treesitter/nvim-treesitter/blob/90f15d9/plugin/nvim-treesitter.vim Co-authored-by: Ferran Jovell Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb Closes GH-235 --- colors/nord.vim | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index c7ad0705..4a812a1c 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -277,6 +277,7 @@ call s:hi("Comment", s:nord3_gui_bright, "", s:nord3_term, "", s:italicize_comme call s:hi("Conceal", "", "NONE", "", "NONE", "", "") call s:hi("Conditional", s:nord9_gui, "", s:nord9_term, "", "", "") call s:hi("Constant", s:nord4_gui, "", "NONE", "", "", "") +call s:hi("Decorator", s:nord12_gui, "", s:nord12_term, "", "", "") call s:hi("Define", s:nord9_gui, "", s:nord9_term, "", "", "") call s:hi("Delimiter", s:nord6_gui, "", s:nord6_term, "", "", "") call s:hi("Exception", s:nord9_gui, "", s:nord9_term, "", "", "") @@ -301,8 +302,10 @@ call s:hi("Tag", s:nord4_gui, "", "", "", "", "") call s:hi("Todo", s:nord13_gui, "NONE", s:nord13_term, "NONE", "", "") call s:hi("Type", s:nord9_gui, "", s:nord9_term, "", "NONE", "") call s:hi("Typedef", s:nord9_gui, "", s:nord9_term, "", "", "") +hi! link Annotation Decorator hi! link Macro Define hi! link PreCondit PreProc +hi! link Variable Identifier "+-----------+ "+ Languages + @@ -687,6 +690,25 @@ hi! link jsNoise Delimiter hi! link jsPrototype Keyword hi! link jsRegexpString SpecialChar +" tree-sitter +" > nvim-treesitter/nvim-treesitter +if has("nvim") + hi! link TSAnnotation Annotation + hi! link TSConstBuiltin Constant + hi! link TSConstructor Function + hi! link TSEmphasis Italic + hi! link TSError Error + hi! link TSFuncBuiltin Function + hi! link TSFuncMacro Function + hi! link TSStringRegex SpecialChar + hi! link TSStrong Bold + hi! link TSStructure Structure + hi! link TSTagDelimiter TSTag + hi! link TSUnderline Underline + hi! link TSVariable Variable + hi! link TSVariableBuiltin Keyword +endif + " TypeScript " > HerringtonDarkholme/yats.vim call s:hi("typescriptBOMWindowMethod", s:nord8_gui, "", s:nord8_term, "", s:italic, "") From d30ea87f832853d6658dea483eafc3ba5fcfc33f Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sat, 10 Jul 2021 14:38:44 +0200 Subject: [PATCH 08/16] Release version 0.17.0 --- CHANGELOG.md | 30 +++++++++++++++++++++++++ autoload/airline/themes/nord.vim | 2 +- autoload/lightline/colorscheme/nord.vim | 2 +- colors/nord.vim | 2 +- 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 561ed9d7..939646e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,26 @@ +# 0.17.0 + +![Release Date: 2021-07-10](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-07-10&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.17.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/projects/23) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.17.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/milestone/19) + +⇅ [Show all commits][gh-compare-tag-v0.16.0_v0.17.0] + +## Features + +### Syntax + +
+Support for nvim-treesitter/nvim-treesitter — #235 ⇄ #253 (⊶ b3e712a9) by @s-u-d-o-e-r and @mrswats + +↠ Neovim [version 0.5][neovim/neovim-v0.5.0] is a long-time awaited update that introduces features like support for [tree-sitter][tree-sitter/tree-sitter] via [nvim-treesitter][nvim-treesitter/nvim-treesitter] and [LSP][neovim-docs-lsp] via [nvim-lspconfig][neovim/nvim-lspconfig]. +Even though Neovim divides more and more from Vim through specific features like first-class Lua support with custom APIs, the highlighting for tree-sitter is achieved through “normal“ syntax highlighting groups. Most of the groups are already [linked by the `nvim-treesitter` plugin by default][nvim-treesitter/nvim-treesitter-blob-90f15d9] so only a few groups have been adjusted for now to fit the Nord style. + +⚠️ Note that this is the first iteration and **it is very likely that there will be inconsistencies compared to the current highlighting when using “normal“ Vim plugins per language**. Please **report any problem** you find so that the support for tree-sitter can be improved continuously! + +
+ # 0.16.0 ![Release Date: 2021-06-09](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-06-09&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.16.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/projects/22) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.16.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/milestone/18) @@ -1044,3 +1064,13 @@ otherwise Markdown elements are not parsed and rendered! [vim-docs#php_syntax]: https://vimhelp.org/syntax.txt.html#ft%2dphp%2dsyntax [vim-pandoc/vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax [wikip-greek_alphabet]: https://en.wikipedia.org/wiki/Greek_alphabet + + + +[gh-compare-tag-v0.16.0_v0.17.0]: https://github.com/arcticicestudio/nord-vim/compare/v0.16.0...v0.17.0 +[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html +[neovim/neovim-v0.5.0]: https://github.com/neovim/neovim/releases/tag/v0.5.0 +[neovim/nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig +[nvim-treesitter/nvim-treesitter-blob-90f15d9]: https://github.com/nvim-treesitter/nvim-treesitter/blob/90f15d9/plugin/nvim-treesitter.vim +[nvim-treesitter/nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter +[tree-sitter/tree-sitter]: https://github.com/tree-sitter/tree-sitter diff --git a/autoload/airline/themes/nord.vim b/autoload/airline/themes/nord.vim index 525f0d6d..e8c65d2f 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.16.0" +let s:nord_vim_version="0.17.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 ce58e5fd..ed929616 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.16.0" +let s:nord_vim_version="0.17.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 4a812a1c..9f7d6502 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.16.0" +let s:nord_vim_version="0.17.0" set background=dark let s:nord0_gui = "#2E3440" From 8d8b9bf86bbc715a055b54cb53f0643fd664caa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Sun, 11 Jul 2021 04:21:00 -0400 Subject: [PATCH 09/16] Add support for pandoc (#220) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for `vim-pandoc/vim-pandoc-syntax` To improve syntax highlighting for Pandoc [1], support for the vim-pandoc/vim-pandoc-syntax [2] plugin has been implemented. Most groups are linked to existing Markdown groups to ensure a consistent style across languages and different plugins. Configurations used for testing: ```vim let g:pandoc#syntax#conceal#cchar_overrides = {"atx": "〉"} let g:nord_italic = 1 ``` Resources: - `g:pandoc#syntax#conceal#cchar_overrides` docs [3] - `s:cchars` definition [4] - Markdown "Extended Syntax" Guide [5] [1]: https://pandoc.org [2]: https://github.com/vim-pandoc/vim-pandoc-syntax [3]: https://github.com/vim-pandoc/vim-pandoc-syntax/blob/68d7249/doc/pandoc-syntax.txt#L45-L50 [4]: https://github.com/vim-pandoc/vim-pandoc-syntax/blob/5056e63/syntax/pandoc.vim#L37-L72 [5]: https://www.markdownguide.org/extended-syntax Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb Closes GH-220 --- colors/nord.vim | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index 9f7d6502..d0a91e82 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -690,6 +690,31 @@ hi! link jsNoise Delimiter hi! link jsPrototype Keyword hi! link jsRegexpString SpecialChar +" Pandoc +" > vim-pandoc/vim-pandoc-syntax +call s:hi("pandocDefinitionBlockTerm", s:nord7_gui, "", s:nord7_term, "", s:italic, "") +call s:hi("pandocTableDelims", s:nord3_gui, "", s:nord3_term, "", "", "") +hi! link pandocAtxHeader markdownH1 +hi! link pandocBlockQuote markdownBlockquote +hi! link pandocCiteAnchor Operator +hi! link pandocCiteKey pandocReferenceLabel +hi! link pandocDefinitionBlockMark Operator +hi! link pandocEmphasis markdownItalic +hi! link pandocFootnoteID pandocReferenceLabel +hi! link pandocFootnoteIDHead markdownLinkDelimiter +hi! link pandocFootnoteIDTail pandocFootnoteIDHead +hi! link pandocGridTableDelims pandocTableDelims +hi! link pandocGridTableHeader pandocTableDelims +hi! link pandocOperator Operator +hi! link pandocPipeTableDelims pandocTableDelims +hi! link pandocReferenceDefinition pandocReferenceLabel +hi! link pandocReferenceLabel markdownLinkText +hi! link pandocReferenceURL markdownUrl +hi! link pandocSimpleTableHeader pandocAtxHeader +hi! link pandocStrong markdownBold +hi! link pandocTableHeaderWord pandocAtxHeader +hi! link pandocUListItemBullet Operator + " tree-sitter " > nvim-treesitter/nvim-treesitter if has("nvim") From 02ddfadb9e200221f141bcd99ea055e533d67ec0 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Sun, 5 Sep 2021 21:10:16 +0200 Subject: [PATCH 10/16] add support for Lsp codelens (#266) Support for LSP code lenses Before LSP code lenses [1] where code lenses were highlighted with the default color which has been changed to make it less visually intrusive, like other UI related elements, i.e. messages of linters. [1]: https://neovim.io/doc/user/lsp.html#lsp-highlight-codelens GH-266 Co-authored-by: Arctic Ice Studio --- colors/nord.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/colors/nord.vim b/colors/nord.vim index d0a91e82..69b61deb 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -574,6 +574,7 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") " Neovim LSP " > neovim/nvim-lspconfig +call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", "", "") call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") From e3e8a75cd38d83b98e9cf2cf83af91d8df76bca7 Mon Sep 17 00:00:00 2001 From: George Tom Date: Mon, 13 Sep 2021 01:44:42 +0530 Subject: [PATCH 11/16] Remove `TSError` syntax highlighting group (#270) The `TSError` group is used to highlight syntax/parser errors [1] which caused an aggressive styling where the background color of many syntax elements was rendered with `nord11` during typing. This was caused due to the fast processing of `tree-sitter` which also resulted in highlight flickering. This is a known problem and was fixed by many other themes (e.g. Dracula [2]) by removing the group again. One of the core maintainers of `nvim-treesitter` provided a solution by remapping groups [3] and also mentioned that the group is styled by the `nvim-treesitter` plugin but the active theme [4]. Syntax errors can still be highlighted through linters and parsers like Neovim's LSP [5] can still be used instead to highlight errors with the correct style (e.g. only change the foreground color of a single word). [1]: https://github.com/nvim-treesitter/nvim-treesitter/blob/fb5d6e04/doc/nvim-treesitter.txt#L493-L495 [2]: https://github.com/dracula/vim/pull/232 [3]: https://github.com/nvim-treesitter/nvim-treesitter/issues/78#issuecomment-647140700 [4]: https://github.com/nvim-treesitter/nvim-treesitter/issues/1016#issuecomment-797049591 [5]: https://github.com/neovim/nvim-lspconfig Fixes GH-269 --- colors/nord.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/colors/nord.vim b/colors/nord.vim index 69b61deb..8a342d64 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -723,7 +723,6 @@ if has("nvim") hi! link TSConstBuiltin Constant hi! link TSConstructor Function hi! link TSEmphasis Italic - hi! link TSError Error hi! link TSFuncBuiltin Function hi! link TSFuncMacro Function hi! link TSStringRegex SpecialChar From b64dc119b0bfea35c69359f5ff5e0c9026a0890a Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sun, 12 Sep 2021 23:07:55 +0200 Subject: [PATCH 12/16] Release version 0.18.0 --- CHANGELOG.md | 82 ++++++++++++++++++++----- autoload/airline/themes/nord.vim | 2 +- autoload/lightline/colorscheme/nord.vim | 2 +- colors/nord.vim | 2 +- 4 files changed, 70 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 939646e3..97cec598 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,56 @@ +# 0.18.0 + +![Release Date: 2021-09-12](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-09-12&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.18.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/projects/24) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.18.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/milestone/20) + +⇅ [Show all commits][gh-compare-tag-v0.17.0_v0.18.0] + +## Features + +### Syntax + +
+Support for vim-pandoc/vim-pandoc-syntax — #220 (⊶ 8d8b9bf8) by @tpoisot and @BirgerNi + +↠ To improve syntax highlighting for [Pandoc][], support for the [vim-pandoc/vim-pandoc-syntax][] plugin has been implemented. +Most groups are linked to existing Markdown groups to ensure a consistent style across languages and different plugins. + +

+ +
+ +### UI + +
+Support for LSP code lenses — #266 (⊶ 02ddfadb) by @jan-xyz + +↠ Before [LSP code lenses][nvim-docs-lsp#codelens] were highlighted with the default color which has been changed to make it less visually intrusive, like other UI related elements, e.g. messages of linters. + +

Before

+

+ +

After

+

+ +
+ +## Improvements + +### Syntax + +
+Prevent aggressive error highlighting — #269 ⇄ #270 (⊶ e3e8a75c) by @jan-xyz + +↠ The `TSError` group is used to [highlight syntax/parser errors][nvim-treesitter/nvim-treesitter-blob-fb5d6e04#l493-l495] which caused an aggressive styling where the background color of many syntax elements was rendered with `nord11` during typing. This is a known problem and was fixed by many other themes by removing the group again. One of the [core maintainers of `nvim-treesitter` provided a solution by remapping groups][nvim-treesitter/nvim-treesitter#78#comment-647140700] and also mentioned that the group is [styled by the `nvim-treesitter` plugin but the active theme][nvim-treesitter/nvim-treesitter#1016#comment-797049591]. + +Syntax errors can still be highlighted through linters and parsers like [Neovim's LSP][neovim/nvim-lspconfig] can still be used instead to highlight errors with the correct style, e.g. only change the foreground color of a single word. + +

+ +
+ # 0.17.0 ![Release Date: 2021-07-10](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-07-10&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.17.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/projects/23) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.17.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-vim/milestone/19) @@ -48,7 +98,7 @@ Even though Neovim divides more and more from Vim through specific features like
Support for the php.vim plugin — #218, #262 ⇄ #263 (⊶ b3c46c87, 07452c71) by @pirey -↠ In [arcticicestudio/nord-vim#218][1] new highlighting groups for the bundled PHP syntax were added to improve the highlighting of classes, function and methods and the overall syntax token detection, but they are actually defined by the [php.vim][stanangeloff/php.vim] plugin. Therefore the added highlighting calls have been moved to a plugin section. +↠ In [arcticicestudio/nord-vim#218][] new highlighting groups for the bundled PHP syntax were added to improve the highlighting of classes, function and methods and the overall syntax token detection, but they are actually defined by the [php.vim][stanangeloff/php.vim] plugin. Therefore the added highlighting calls have been moved to a plugin section. Additionally, the `phpClassExtends` and `phpClassImplements` groups have been added to improve the highlighting for classes that implement or extended interfaces/classes. The `phpUseClass` has also been added to improve the highlighting for imports. To improve the highlighting with the bundled PHP syntax, the [following options][vim-docs#php_syntax] can be set: @@ -813,7 +863,7 @@ To optimally improve the highlighting `nord3` will now be used as background col ### Configurations -❯ Added a configuration to enable [italic comments](https://github.com/arcticicestudio/nord-vim#italic-comments). +❯ Added a configuration to enable [italic comments](https://github.com/arcticicestudio/nord-vim#italic-comments). To adhere to the Nord style guide this option is disabled by default. It can be enabled by setting the `g:nord_italic_comments` variable to `1`. ```vim @@ -839,7 +889,7 @@ let g:nord_italic_comments = 1 ### Documentation -❯ Added the new terminal emulator port project [Nord Hyper](https://github.com/arcticicestudio/nord-hyper) +❯ Added the new terminal emulator port project [Nord Hyper](https://github.com/arcticicestudio/nord-hyper) [![Nord Hyper](https://cdn.rawgit.com/arcticicestudio/nord/develop/src/assets/nord-hyper-banner.svg)](https://github.com/arcticicestudio/nord-hyper) # 0.3.0 @@ -850,7 +900,7 @@ let g:nord_italic_comments = 1 ### Plugin Support -❯ The [Nord lightline.vim][nord-lightline] UI plugin theme now includes better support for the [tmuxline.vim](https://github.com/edkolev/tmuxline.vim) plugin. Before this implementation text shown in the main segment of the tmuxline, generated via the `:Tmuxline lightline` command, has been colorized using `nord0` which resulted in unreadable text due to a `nord3` background. +❯ The [Nord lightline.vim][nord-lightline] UI plugin theme now includes better support for the [tmuxline.vim](https://github.com/edkolev/tmuxline.vim) plugin. Before this implementation text shown in the main segment of the tmuxline, generated via the `:Tmuxline lightline` command, has been colorized using `nord0` which resulted in unreadable text due to a `nord3` background. This has been fixed by using `nord5` as foreground color. (@scottwillmoore, #11, 4ea37f7e)

Before

After

With unicode separators

Without specified configurations (tmuxline.vim autodetect)

@@ -954,14 +1004,17 @@ otherwise Markdown elements are not parsed and rendered! [itchyny/lightline-adv-config]: https://github.com/itchyny/lightline.vim#advanced-configuration [itchyny/lightline.vim-gh-257]: https://github.com/itchyny/lightline.vim/pull/257 [lesscss-doc-fn-lighten]: http://lesscss.org/functions/#color-operations-lighten +[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap [neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim +[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html +[neovim/nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig [nord-atom-syntax-pr-47]: https://github.com/arcticicestudio/nord-atom-syntax/pull/47 [nord-config-port-vim#uni_st_line]: https://www.nordtheme.com/docs/ports/vim/configuration#uniform-status-lines [nord-docs-config-font-bold]: https://www.nordtheme.com/ports/vim/configuration#bold-styles [nord-gh]: https://github.com/arcticicestudio/nord -[nord-home]: https://www.nordtheme.com/ports/vim [nord-lightline]: https://github.com/arcticicestudio/nord-vim/blob/develop/autoload/lightline/colorscheme/nord.vim [nord]: https://www.nordtheme.com +[pandoc]: https://pandoc.org [plugin-ale]: https://github.com/w0rp/ale [plugin-ctrlp]: https://github.com/ctrlpvim/ctrlp.vim [plugin-junegunn/vim-plug]: https://github.com/junegunn/vim-plug @@ -977,11 +1030,11 @@ otherwise Markdown elements are not parsed and rendered! [readme-config-underline-support]: https://github.com/arcticicestudio/nord-vim#underline-support [readme-config-uniform-diff-background]: https://github.com/arcticicestudio/nord-vim#uniform-diff-background [readme-config-uniform-statusline-background]: https://github.com/arcticicestudio/nord-vim#uniform-status-lines -[readme-config]: https://github.com/arcticicestudio/nord-vim#configuration [rust]: https://www.rust-lang.org [vdoc-fchar]: http://vimdoc.sourceforge.net/htmldoc/options.html#'fillchars' [vdoc-vsplit]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#hl-VertSplit [vim-doc-diffadd]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#hl-DiffAdd +[vim-pandoc/vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax [yaml]: http://yaml.org @@ -1018,7 +1071,6 @@ otherwise Markdown elements are not parsed and rendered! [gh-user-nixtrace]: https://github.com/nixtrace [gh-user-vasilescur]: https://github.com/vasilescur [mhinz/vim-startify]: https://github.com/mhinz/vim-startify -[nord-config-port-vim#uni_st_line]: https://www.nordtheme.com/docs/ports/vim/configuration#uniform-status-lines [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 @@ -1035,7 +1087,6 @@ otherwise Markdown elements are not parsed and rendered! [gh-user-iamdidev]: https://github.com/iamdidev [gh-user-ikalnytskyi]: https://github.com/ikalnytskyi [herringtonharkholme/yats.vim]: https://github.com/HerringtonDarkholme/yats.vim -[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap [ts-docs-decorators]: https://www.typescriptlang.org/docs/handbook/decorators.html [ts-docs-jsx]: https://www.typescriptlang.org/docs/handbook/jsx.html [typescript]: https://www.typescriptlang.org @@ -1051,26 +1102,27 @@ otherwise Markdown elements are not parsed and rendered! [gh-user-crispgm]: https://github.com/crispgm [gh-user-ojroques]: https://github.com/ojroques [latex]: https://www.latex-project.org -[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap [nathanaelkane/vim-indent-guides]: https://github.com/nathanaelkane/vim-indent-guides [nathanaelkane/vim-indent-guides#custom_color]: https://github.com/nathanaelkane/vim-indent-guides#setting-custom-indent-colors -[neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim -[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html [neovim/neovim-ms#19]: https://github.com/neovim/neovim/milestone/19 [neovim/neovim#12655]: https://github.com/neovim/neovim#12655 [overleaf-latex-learn-math_expr]: https://www.overleaf.com/learn/latex/mathematical_expressions -[pandoc]: https://pandoc.org [stanangeloff/php.vim]: https://github.com/StanAngeloff/php.vim [vim-docs#php_syntax]: https://vimhelp.org/syntax.txt.html#ft%2dphp%2dsyntax -[vim-pandoc/vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax [wikip-greek_alphabet]: https://en.wikipedia.org/wiki/Greek_alphabet [gh-compare-tag-v0.16.0_v0.17.0]: https://github.com/arcticicestudio/nord-vim/compare/v0.16.0...v0.17.0 -[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html [neovim/neovim-v0.5.0]: https://github.com/neovim/neovim/releases/tag/v0.5.0 -[neovim/nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig [nvim-treesitter/nvim-treesitter-blob-90f15d9]: https://github.com/nvim-treesitter/nvim-treesitter/blob/90f15d9/plugin/nvim-treesitter.vim [nvim-treesitter/nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter [tree-sitter/tree-sitter]: https://github.com/tree-sitter/tree-sitter + + + +[gh-compare-tag-v0.17.0_v0.18.0]: https://github.com/arcticicestudio/nord-vim/compare/v0.17.0...v0.18.0 +[nvim-docs-lsp#codelens]: https://neovim.io/doc/user/lsp.html#lsp-highlight-codelens +[nvim-treesitter/nvim-treesitter-blob-fb5d6e04#l493-l495]: https://github.com/nvim-treesitter/nvim-treesitter/blob/fb5d6e04/doc/nvim-treesitter.txt#L493-L495 +[nvim-treesitter/nvim-treesitter#1016#comment-797049591]: https://github.com/nvim-treesitter/nvim-treesitter/issues/1016#issuecomment-797049591 +[nvim-treesitter/nvim-treesitter#78#comment-647140700]: https://github.com/nvim-treesitter/nvim-treesitter/issues/78#issuecomment-647140700 diff --git a/autoload/airline/themes/nord.vim b/autoload/airline/themes/nord.vim index e8c65d2f..9c478762 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.17.0" +let s:nord_vim_version="0.18.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 ed929616..5138a943 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.17.0" +let s:nord_vim_version="0.18.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 8a342d64..bfcfb064 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.17.0" +let s:nord_vim_version="0.18.0" set background=dark let s:nord0_gui = "#2E3440" From 8035ba071b3302c1affcfead48af8a1ced9a41e1 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Sat, 1 Jan 2022 21:28:50 +0100 Subject: [PATCH 13/16] Add support for neovim 0.6.0 diagnostic API highlight groups (#282) In Neovim `0.6.0` [1] the naming scheme for the highlight groups of the diagnostic API changed [2]. The new groups have been added as default while the previous groups are conditionally guarded when using Neovim `0.5.0`. [1]: https://github.com/neovim/neovim/releases/tag/v0.6.0 [2]: https://github.com/neovim/neovim/pull/15585/commits/a5bbb932f9094098bd656d3f6be3c58344576709#diff-51fab2b766d0a3b606462e95de492190df173b7296147912307cdad636cd492aR77 Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb GH-282 --- colors/nord.vim | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index bfcfb064..b6d2c25f 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -216,6 +216,16 @@ if has('nvim') let g:terminal_color_15 = s:nord6_gui endif +"+- Neovim Diagnostics API -+ +call s:hi("DiagnosticWarn", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("DiagnosticError" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("DiagnosticInfo" , s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("DiagnosticHint" , s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("DiagnosticUnderlineWarn" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "") +call s:hi("DiagnosticUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") +call s:hi("DiagnosticUnderlineInfo" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") +call s:hi("DiagnosticUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") + "+--- Gutter ---+ call s:hi("CursorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "") if g:nord_cursor_line_number_background == 0 @@ -575,14 +585,16 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") " Neovim LSP " > neovim/nvim-lspconfig call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", "", "") -call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") -call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") -call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") -call s:hi("LspDiagnosticsDefaultHint" , s:nord10_gui, "", s:nord10_term, "", "", "") -call s:hi("LspDiagnosticsUnderlineWarning" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "") -call s:hi("LspDiagnosticsUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") -call s:hi("LspDiagnosticsUnderlineInformation" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") -call s:hi("LspDiagnosticsUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") +if has("nvim-0.5") + call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") + call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") + call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") + call s:hi("LspDiagnosticsDefaultHint" , s:nord10_gui, "", s:nord10_term, "", "", "") + call s:hi("LspDiagnosticsUnderlineWarning" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "") + call s:hi("LspDiagnosticsUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") + call s:hi("LspDiagnosticsUnderlineInformation" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") + call s:hi("LspDiagnosticsUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") +endif " GitGutter " > airblade/vim-gitgutter From 3e4e273d79e512fdcc84b00cd176026c1bf149af Mon Sep 17 00:00:00 2001 From: Charles Moscofian Date: Wed, 12 Jan 2022 19:00:15 -0300 Subject: [PATCH 14/16] Add support for LSP textDocument/documentHighlight (#284) Support for Neovim LSP `documentHighlight` groups The Neovim LSP `textDocument` / `documentHightlight` groups [1] are responsible to highlight tokens in a document that are related to each other, e.g. decalred variables, using the `vim.buf.lsp.document_highlight()` function. Also see the LSP specification about "Document Highlights Request" [2] for more details. [1]: https://github.com/neovim/neovim/blob/f92a2457c2e7ad14d9a5a907ef4213fa770b6d95/runtime/doc/lsp.txt#L423 [2]: https://microsoft.github.io/language-server-protocol/specification#textDocument_documentHighlight Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb --- colors/nord.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index b6d2c25f..068dcb45 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -226,6 +226,11 @@ call s:hi("DiagnosticUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "und call s:hi("DiagnosticUnderlineInfo" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") call s:hi("DiagnosticUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") +"+- Neovim DocumentHighlight -+ +call s:hi("LspReferenceText", "", s:nord3_gui, "", s:nord3_term, "", "") +call s:hi("LspReferenceRead", "", s:nord3_gui, "", s:nord3_term, "", "") +call s:hi("LspReferenceWrite", "", s:nord3_gui, "", s:nord3_term, "", "") + "+--- Gutter ---+ call s:hi("CursorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "") if g:nord_cursor_line_number_background == 0 From b32592eb0842005d1d25de96e3964ccacd537039 Mon Sep 17 00:00:00 2001 From: Julien Voisin Date: Tue, 25 Jan 2022 22:50:44 +0100 Subject: [PATCH 15/16] Improve readability of C language constants (#283) Improve readability of C language constants To improve the readability of C language constants, defined by the `cConstant` syntax highlighting group [1], these are now colored with `nord9` for the foreground to make them stand out. This is important in C, since interesting things are usually happening in their proximity, like checking/returning an error, passing particular values/flags to functions and so on. [1]: https://github.com/vim/vim/blob/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471/runtime/syntax/c.vim#L313-L375 Co-authored-by: Arctic Ice Studio Co-authored-by: Sven Greb GH-283 --- colors/nord.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/colors/nord.vim b/colors/nord.vim index 068dcb45..c28c4326 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -366,6 +366,7 @@ hi! link awkVariables Identifier call s:hi("cIncluded", s:nord7_gui, "", s:nord7_term, "", "", "") hi! link cOperator Operator hi! link cPreCondit PreCondit +hi! link cConstant Type call s:hi("cmakeGeneratorExpression", s:nord10_gui, "", s:nord10_term, "", "", "") From a8256787edbd4569a7f92e4e163308ab8256a6e5 Mon Sep 17 00:00:00 2001 From: Charles Moscofian Date: Sat, 19 Feb 2022 10:22:01 -0300 Subject: [PATCH 16/16] Add support for LSPSignatureHelpActiveParameter (#286) The `vim.lsp.buf.signature_help` function is used to highlight the active parameter in the signature help [1]. Before this commit the active parameter was not styled differently to any other parameter which made it hard to distinguish it. This has been improved by adding support for the `LspSignatureActiveParameter` syntax highlighting group where the active parameter now uses `nord8` are foreground color and additionally a font underline with the same color. [1]: https://github.com/neovim/neovim/blob/70db972e5fbcab39946ad8ac05472a693cf65b68/runtime/doc/lsp.txt#L456-L459 Co-authored-by: Sven Greb Co-authored-by: Arctic Ice Studio GH-286 --- colors/nord.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index c28c4326..fe0a4ffc 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -231,6 +231,9 @@ call s:hi("LspReferenceText", "", s:nord3_gui, "", s:nord3_term, "", "") call s:hi("LspReferenceRead", "", s:nord3_gui, "", s:nord3_term, "", "") call s:hi("LspReferenceWrite", "", s:nord3_gui, "", s:nord3_term, "", "") +"+- Neovim LspSignatureHelp -+ +call s:hi("LspSignatureActiveParameter", s:nord8_gui, "", s:nord8_term, "", s:underline, "") + "+--- Gutter ---+ call s:hi("CursorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "") if g:nord_cursor_line_number_background == 0