Skip to content

0.16.0

Compare
Choose a tag to compare
@arcticicestudio arcticicestudio released this 09 Jun 20:03
v0.16.0

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

Release Date: 2021-06-09 Project Board Milestone

Show all commits

Features

API

Public API function NordPalette to get Nord colors#224 (⊶ 5867535) by @jandamm

↠ Implemented a new 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.

Syntax

Support for the php.vim plugin#218, #262#263 (⊶ b3c46c8, 07452c7) by @pirey

↠ 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 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 can be set:

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 (⊶ f3f28b9)

↠ 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 and mathematical expressions that are often used in LaTeX or 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 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:

let g:pandoc#syntax#conceal#use = 1
set conceallevel=2

Before

After

Updated highlights for Neovim LSP diagnostics#229, #248 (⊶ a3af928) 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 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 nightly build.
Also see great articles from Nord Vim contributors like “Neovim (0.5) Is Overpowering“ for more information about Neovim 0.5 features, including LSP.

Thanks to @clason, @crispgm and @ojroques for the review support!

UI

Support for the vim-indent-guides plugin#186#226 (⊶ ea7ff9c) by @mitinarseny

↠ Added support for the vim-indent-guides plugin. The even and odd highlighting blocks using nord1 and nord2 (nord3in terminal mode) to provide a subtle and non-disturbing style.
Note that the custom theme colors are only applied when the indent_guides_auto_colors variable has been set to 0:

let g:indent_guides_auto_colors = 0

Before

After

Improvements

UI

coc.vim error and warning highlighting#213 (⊶ 8a9754c) by @butterywombat

↠ Added the coc.nvim 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 (⊶ e5a54c7) 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 or vim-clap which come with custom highlighting groups and UI libraries.

The full changelog is available in the repository

Copyright © 2016-present Arctic Ice Studio and Sven Greb