From a2d1bcc66806ad8f39e1a598bb963dd8fcae7473 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Wed, 9 Jun 2021 21:47:22 +0200 Subject: 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 75c53c9..561ed9d 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 38d3add..525f0d6 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 fceb189..ce58e5f 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 2450ef7..c7ad070 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" -- cgit v1.2.3-70-g09d2