diff options
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 197 |
1 files changed, 179 insertions, 18 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 75c53c9..561ed9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,139 @@ -<p align="center"><a href="https://www.nordtheme.com/ports/vim" target="_blank"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/ports/vim/repository-hero.svg?sanitize=true"/></a></p> +<p align="center"><a href="https://www.nordtheme.com/ports/vim" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/ports/vim/repository-hero.svg?sanitize=true"/></a></p> -<p align="center"><a href="https://github.com/arcticicestudio/nord-vim/releases/latest"><img src="https://img.shields.io/github/release/arcticicestudio/nord-vim.svg?style=flat-square&label=Release&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"/></a> <a href="https://www.nordtheme.com/docs/ports/vim"><img src="https://img.shields.io/github/release/arcticicestudio/nord-vim.svg?style=flat-square&label=Docs&colorA=4c566a&colorB=88c0d0&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI%2BCiAgICA8cGF0aCBmaWxsPSIjZDhkZWU5IiBkPSJNMTMuNzQ2IDIuODEzYS42Ny42NyAwIDAgMC0uNTU5LS4xMzNMOCAzLjg0OGwtNS4xODgtMS4xOGEuNjY5LjY2OSAwIDAgMC0uNTcuMTMzLjY3Ny42NzcgMCAwIDAtLjI0Mi41MzF2OC4xMzNjLS4wMDguMzIuMjEuNTk4LjUyLjY2OGw1LjMzMiAxLjE5OWguMjk2bDUuMzMyLTEuMmEuNjY4LjY2OCAwIDAgMCAuNTItLjY2N1YzLjMzMmEuNjU5LjY1OSAwIDAgMC0uMjU0LS41MnpNMy4zMzIgNC4xNjhsNCAuODk4djYuNzY2bC00LS44OTh6bTkuMzM2IDYuNzY2bC00IC44OThWNS4wNjZsNC0uODk4em0wIDAiLz4KPC9zdmc%2BCg%3D%3D"/></a></p> +<p align="center"><a href="https://github.com/arcticicestudio/nord-vim/releases/latest" target="_blank" rel="noreferrer"><img src="https://img.shields.io/github/release/arcticicestudio/nord-vim.svg?style=flat-square&label=Release&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"/></a> <a href="https://www.nordtheme.com/docs/ports/vim" target="_blank" rel="noreferrer"><img src="https://img.shields.io/github/release/arcticicestudio/nord-vim.svg?style=flat-square&label=Docs&colorA=4c566a&colorB=88c0d0&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI%2BCiAgICA8cGF0aCBmaWxsPSIjZDhkZWU5IiBkPSJNMTMuNzQ2IDIuODEzYS42Ny42NyAwIDAgMC0uNTU5LS4xMzNMOCAzLjg0OGwtNS4xODgtMS4xOGEuNjY5LjY2OSAwIDAgMC0uNTcuMTMzLjY3Ny42NzcgMCAwIDAtLjI0Mi41MzF2OC4xMzNjLS4wMDguMzIuMjEuNTk4LjUyLjY2OGw1LjMzMiAxLjE5OWguMjk2bDUuMzMyLTEuMmEuNjY4LjY2OCAwIDAgMCAuNTItLjY2N1YzLjMzMmEuNjU5LjY1OSAwIDAgMC0uMjU0LS41MnpNMy4zMzIgNC4xNjhsNCAuODk4djYuNzY2bC00LS44OTh6bTkuMzM2IDYuNzY2bC00IC44OThWNS4wNjZsNC0uODk4em0wIDAiLz4KPC9zdmc%2BCg%3D%3D"/></a></p> -<p align="center">Changelog for <a href="https://www.nordtheme.com/ports/vim">Nord Vim</a> — An arctic, north-bluish clean and elegant <a href="https://www.vim.org">Vim</a> color theme.</p> +<p align="center">Changelog for <a href="https://www.nordtheme.com/ports/vim" target="_blank" rel="noreferrer">Nord Vim</a> — An arctic, north-bluish clean and elegant <a href="https://www.vim.org" target="_blank" rel="noreferrer">Vim</a> color theme.</p> <!--lint disable no-duplicate-headings--> +# 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 + +<details> +<summary><strong>Public API function <code>NordPalette</code> to get Nord colors</strong> — #224 (⊶ 5867535c) by <a href="https://github.com/jandamm" target="_blank" rel="noreferrer">@jandamm</a></summary> + +↠ 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]. + +</details> + +### Syntax + +<details> +<summary><strong>Support for the <a href="https://github.com/StanAngeloff/php.vim" target="_blank" rel="noreferrer">php.vim</a> plugin</strong> — #218, #262 ⇄ #263 (⊶ b3c46c87, 07452c71) by <a href="https://github.com/pirey" target="_blank" rel="noreferrer">@pirey</a></summary> + +↠ 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 +``` + +<p align="center"><strong>Before</strong></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/121416382-08b8a600-c969-11eb-9928-10a044568ad6.png" width="75%" /></p> + +<p align="center"><strong>After</strong></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/121416373-06eee280-c969-11eb-8990-4e05f196c295.png" width="75%" /></p> + +</details> + +<details> +<summary><strong><code>Conceal</code> highlighting group support</strong> — #149, #207, #211, #256 ⇄ #261 (⊶ f3f28b93)</summary> + +↠ 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 +``` + +<p align="center"><strong>Before</strong></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/120046947-a0d29900-c013-11eb-8d4d-fc9f6dd117ad.png" width="75%" /></p> + +<p align="center"><strong>After</strong></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/120046952-a5974d00-c013-11eb-9c03-d73461d92069.png" width="75%" /></p> + +</details> + +<details> +<summary><strong>Updated highlights for <a href="https://neovim.io/doc/user/lsp.html" target="_blank" rel="noreferrer">Neovim LSP</a> diagnostics</strong> — #229, #248 (⊶ a3af928a) by <a href="https://github.com/gbrlsnchs" target="_blank" rel="noreferrer">@gbrlsnchs</a> and <a href="https://github.com/thallium" target="_blank" rel="noreferrer">@thallium</a></summary> + +↠ 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! + +</details> + +### UI + +<details> +<summary><strong>Support for the <a href="https://github.com/nathanaelkane/vim-indent-guides" target="_blank" rel="noreferrer">vim-indent-guides</a> plugin</strong> — #186 ⇄ #226 (⊶ ea7ff9c3) by <a href="https://github.com/mitinarseny" target="_blank" rel="noreferrer">@mitinarseny</a></summary> + +↠ 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 +``` + +<p align="center"><strong>Before</strong></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/95505941-71511c80-09af-11eb-898a-4c7e6396c4d4.png" width="75%" /></p> + +<p align="center"><strong>After</strong></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/95505930-6eeec280-09af-11eb-84bb-2e0b0265b525.png" width="75%" /></p> + +</details> + +## Improvements + +### UI + +<details> +<summary><strong><a href="https://github.com/neoclide/coc.nvim" target="_blank" rel="noreferrer">coc.vim</a> error and warning highlighting</strong> — #213 (⊶ 8a9754ce) by <a href="https://github.com/butterywombat" target="_blank" rel="noreferrer">@butterywombat</a></summary> + +↠ Added the [coc.nvim][nathanaelkane/vim-indent-guides] highlighting groups for errors and warnings using their respective foreground colors and the `undercurl` font style. + +</details> + +## Bug Fixes + +### UI + +<details> +<summary><strong>Typo in group <code>Pmenu</code> group names</strong> — #252 (⊶ e5a54c7f) by <a href="https://github.com/kunzaatko" target="_blank" rel="noreferrer">@kunzaatko</a></summary> + +↠ 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. + +</details> + # 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… <p align="center"><strong>…interfaces with bold font style, typing characters and types.</strong></p> -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84699121-43a01d80-af51-11ea-8ca2-7560791e04f5.png" width="20%" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84699121-43a01d80-af51-11ea-8ca2-7560791e04f5.png" /></p> <p align="center"><strong>…global methods like <code>setTimeout</code> with italic font style.</strong></p> -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84700311-3d12a580-af53-11ea-8102-39c86eb54df9.png" width="40%" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84700311-3d12a580-af53-11ea-8102-39c86eb54df9.png" /></p> <p align="center"><strong>…regular expressions with <code>nord13</code> instead of the normal color for quoted strings.</strong></p> -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84700066-dd1bff00-af52-11ea-8876-22eeec81e8a0.png" width="40%" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84700066-dd1bff00-af52-11ea-8876-22eeec81e8a0.png" /></p> <p align="center"><strong>…global elements like <code>Error</code>, <code>JSON</code> and <code>console</code>.</strong></p> -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84698135-94167b80-af4f-11ea-86e6-29df3bf34c61.png" width="40%" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84698135-94167b80-af4f-11ea-86e6-29df3bf34c61.png" /></p> <p align="center"><strong>…brackets of types as structural elements.</strong></p> -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84701261-f2922880-af54-11ea-9779-ba1314480921.png" width="40%" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84701261-f2922880-af54-11ea-9779-ba1314480921.png" /></p> <p align="center"><strong>…TSX/JSX and HTML with a consistent appearance.</strong></p> -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84701503-66cccc00-af55-11ea-80b7-9793fc894284.png" width="40%" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84701503-66cccc00-af55-11ea-80b7-9793fc894284.png" /></p> ### 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. -<p align="center"><img src="https://user-images.githubusercontent.com/7836623/86534351-0daee300-bed8-11ea-9685-031d16b5a07b.png" width="666px" /></p> +<p align="center"><img src="https://user-images.githubusercontent.com/7836623/86534351-0daee300-bed8-11ea-9685-031d16b5a07b.png" /></p> # 0.14.0 @@ -774,17 +902,25 @@ Detailed information about features, supported plugins/languages and install ins <!-- +------------------+ ++ Formatting Notes + ++------------------+ + +The `<summary />` tag must be separated with a blank line from the actual item content paragraph, +otherwise Markdown elements are not parsed and rendered! + ++------------------+ + Symbol Reference + +------------------+ ↠ (U+21A0): Start of a log section description — (U+2014): Separator between a log section title and the metadata ⇄ (U+21C4): Separator between a issue ID and pull request ID in a log metadata ⊶ (U+22B6): Icon prefix for the short commit SHA checksum in a log metadata +⇅ (U+21C5): Icon prefix for the link of the Git commit history comparison on GitHub --> -<!-- lint disable final-definition --> +<!--lint disable final-definition--> -<!-- Base Links --> +<!-- Shared --> [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 -<!--v 0.11.0 --> +<!-- v0.11.0 --> [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 -<!--v 0.12.0 --> +<!-- v0.12.0 --> [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 -<!--v 0.13.0 --> +<!-- v0.13.0 --> [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 -<!--v 0.14.0 --> +<!-- v0.14.0 --> [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 -<!--v 0.15.0 --> +<!-- v0.15.0 --> [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 + +<!-- v0.16.0 --> + +[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 |