Skip to content

Commit c2aaac3

Browse files
Merge branch 'release/0.18.0'
2 parents 7e8d8ab + 865dd93 commit c2aaac3

File tree

4 files changed

+96
-19
lines changed

4 files changed

+96
-19
lines changed

CHANGELOG.md

Lines changed: 67 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,56 @@
66

77
<!--lint disable no-duplicate-headings-->
88

9+
# 0.18.0
10+
11+
![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)
12+
13+
[Show all commits][gh-compare-tag-v0.17.0_v0.18.0]
14+
15+
## Features
16+
17+
### Syntax
18+
19+
<details>
20+
<summary><strong>Support for <a href="https://github.com/vim-pandoc/vim-pandoc-syntax" target="_blank" rel="noreferrer"><code>vim-pandoc/vim-pandoc-syntax</code></a></strong> — #220 (⊶ 8d8b9bf8) by <a href="https://github.com/tpoisot" target="_blank" rel="noreferrer">@tpoisot</a> and <a href="https://github.com/BirgerNi" target="_blank" rel="noreferrer">@BirgerNi</a></summary>
21+
22+
↠ To improve syntax highlighting for [Pandoc][], support for the [vim-pandoc/vim-pandoc-syntax][] plugin has been implemented.
23+
Most groups are linked to existing Markdown groups to ensure a consistent style across languages and different plugins.
24+
25+
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/120067101-1f622180-c07a-11eb-81a0-73414e54df55.png" width="75%" /></p>
26+
27+
</details>
28+
29+
### UI
30+
31+
<details>
32+
<summary><strong>Support for <a href="https://neovim.io/doc/user/lsp.html#lsp-highlight-codelens" target="_blank" rel="noreferrer">LSP code lenses</a></strong> — #266 (⊶ 02ddfadb) by <a href="https://github.com/jan-xyz" target="_blank" rel="noreferrer">@jan-xyz</a></summary>
33+
34+
↠ 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.
35+
36+
<p align="center"><strong>Before</strong></p>
37+
<p align="center"><img src="https://user-images.githubusercontent.com/5249233/125171712-d1caef80-e1b5-11eb-8a40-95d7e2a79bbd.png" width="75%" /></p>
38+
39+
<p align="center"><strong>After</strong></p>
40+
<p align="center"><img src="https://user-images.githubusercontent.com/5249233/125171722-da232a80-e1b5-11eb-9073-5fb3795d1136.png" width="75%" /></p>
41+
42+
</details>
43+
44+
## Improvements
45+
46+
### Syntax
47+
48+
<details>
49+
<summary><strong>Prevent aggressive error highlighting</strong> — #269 ⇄ #270 (⊶ e3e8a75c) by <a href="https://github.com/jan-xyz" target="_blank" rel="noreferrer">@jan-xyz</a></summary>
50+
51+
↠ 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].
52+
53+
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.
54+
55+
<p align="center"><img src="https://user-images.githubusercontent.com/22193688/126706481-bee2564c-8aa7-4d44-b666-794065809899.png" width="75%" /></p>
56+
57+
</details>
58+
959
# 0.17.0
1060

1161
![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
4898
<details>
4999
<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>
50100

51-
↠ 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.
101+
↠ 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.
52102
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.
53103

54104
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
813863

814864
### Configurations
815865

816-
❯ Added a configuration to enable [italic comments](https://github.com/arcticicestudio/nord-vim#italic-comments).
866+
❯ Added a configuration to enable [italic comments](https://github.com/arcticicestudio/nord-vim#italic-comments).
817867
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`.
818868

819869
```vim
@@ -839,7 +889,7 @@ let g:nord_italic_comments = 1
839889

840890
### Documentation
841891

842-
❯ Added the new terminal emulator port project [Nord Hyper](https://github.com/arcticicestudio/nord-hyper)
892+
❯ Added the new terminal emulator port project [Nord Hyper](https://github.com/arcticicestudio/nord-hyper)
843893
[![Nord Hyper](https://cdn.rawgit.com/arcticicestudio/nord/develop/src/assets/nord-hyper-banner.svg)](https://github.com/arcticicestudio/nord-hyper)
844894

845895
# 0.3.0
@@ -850,7 +900,7 @@ let g:nord_italic_comments = 1
850900

851901
### Plugin Support
852902

853-
❯ 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.
903+
❯ 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.
854904
This has been fixed by using `nord5` as foreground color. (@scottwillmoore, #11, 4ea37f7e)
855905

856906
<p align="center"><strong>Before</strong><br><img src="https://cloud.githubusercontent.com/assets/9512557/21741900/4f792f5e-d537-11e6-9e69-09ff11b60c4e.png"/><br><strong>After</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21954034/15b87d1e-da47-11e6-9e70-a74aea14c378.png"/><br><strong>With unicode separators</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21954058/7a7c5266-da47-11e6-8f1f-0203d5270c51.png"/><br><strong>Without specified configurations (tmuxline.vim autodetect)</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21954072/931669e2-da47-11e6-8db3-cbdf9d6681f1.png"/></p>
@@ -954,14 +1004,17 @@ otherwise Markdown elements are not parsed and rendered!
9541004
[itchyny/lightline-adv-config]: https://github.com/itchyny/lightline.vim#advanced-configuration
9551005
[itchyny/lightline.vim-gh-257]: https://github.com/itchyny/lightline.vim/pull/257
9561006
[lesscss-doc-fn-lighten]: http://lesscss.org/functions/#color-operations-lighten
1007+
[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap
9571008
[neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim
1009+
[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html
1010+
[neovim/nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig
9581011
[nord-atom-syntax-pr-47]: https://github.com/arcticicestudio/nord-atom-syntax/pull/47
9591012
[nord-config-port-vim#uni_st_line]: https://www.nordtheme.com/docs/ports/vim/configuration#uniform-status-lines
9601013
[nord-docs-config-font-bold]: https://www.nordtheme.com/ports/vim/configuration#bold-styles
9611014
[nord-gh]: https://github.com/arcticicestudio/nord
962-
[nord-home]: https://www.nordtheme.com/ports/vim
9631015
[nord-lightline]: https://github.com/arcticicestudio/nord-vim/blob/develop/autoload/lightline/colorscheme/nord.vim
9641016
[nord]: https://www.nordtheme.com
1017+
[pandoc]: https://pandoc.org
9651018
[plugin-ale]: https://github.com/w0rp/ale
9661019
[plugin-ctrlp]: https://github.com/ctrlpvim/ctrlp.vim
9671020
[plugin-junegunn/vim-plug]: https://github.com/junegunn/vim-plug
@@ -977,11 +1030,11 @@ otherwise Markdown elements are not parsed and rendered!
9771030
[readme-config-underline-support]: https://github.com/arcticicestudio/nord-vim#underline-support
9781031
[readme-config-uniform-diff-background]: https://github.com/arcticicestudio/nord-vim#uniform-diff-background
9791032
[readme-config-uniform-statusline-background]: https://github.com/arcticicestudio/nord-vim#uniform-status-lines
980-
[readme-config]: https://github.com/arcticicestudio/nord-vim#configuration
9811033
[rust]: https://www.rust-lang.org
9821034
[vdoc-fchar]: http://vimdoc.sourceforge.net/htmldoc/options.html#'fillchars'
9831035
[vdoc-vsplit]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#hl-VertSplit
9841036
[vim-doc-diffadd]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#hl-DiffAdd
1037+
[vim-pandoc/vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax
9851038
[yaml]: http://yaml.org
9861039

9871040
<!-- v0.11.0 -->
@@ -1018,7 +1071,6 @@ otherwise Markdown elements are not parsed and rendered!
10181071
[gh-user-nixtrace]: https://github.com/nixtrace
10191072
[gh-user-vasilescur]: https://github.com/vasilescur
10201073
[mhinz/vim-startify]: https://github.com/mhinz/vim-startify
1021-
[nord-config-port-vim#uni_st_line]: https://www.nordtheme.com/docs/ports/vim/configuration#uniform-status-lines
10221074
[vim/vim-diff#d9b0d83b...017ba07f]: https://github.com/vim/vim/compare/d9b0d83b13d2691e4544709abd87eac004715175...017ba07fa2cdc578245618717229444fd50c470d#diff-80fffb3e9c20e93e5b2328a9a20e19c
10231075
[vim/vim-rel-v8.1.2029]: https://github.com/vim/vim/releases/tag/v8.1.2029
10241076
[vim/vim#4933]: https://github.com/vim/vim/pull/4933
@@ -1035,7 +1087,6 @@ otherwise Markdown elements are not parsed and rendered!
10351087
[gh-user-iamdidev]: https://github.com/iamdidev
10361088
[gh-user-ikalnytskyi]: https://github.com/ikalnytskyi
10371089
[herringtonharkholme/yats.vim]: https://github.com/HerringtonDarkholme/yats.vim
1038-
[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap
10391090
[ts-docs-decorators]: https://www.typescriptlang.org/docs/handbook/decorators.html
10401091
[ts-docs-jsx]: https://www.typescriptlang.org/docs/handbook/jsx.html
10411092
[typescript]: https://www.typescriptlang.org
@@ -1051,26 +1102,27 @@ otherwise Markdown elements are not parsed and rendered!
10511102
[gh-user-crispgm]: https://github.com/crispgm
10521103
[gh-user-ojroques]: https://github.com/ojroques
10531104
[latex]: https://www.latex-project.org
1054-
[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap
10551105
[nathanaelkane/vim-indent-guides]: https://github.com/nathanaelkane/vim-indent-guides
10561106
[nathanaelkane/vim-indent-guides#custom_color]: https://github.com/nathanaelkane/vim-indent-guides#setting-custom-indent-colors
1057-
[neoclide/coc.nvim]: https://github.com/neoclide/coc.nvim
1058-
[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html
10591107
[neovim/neovim-ms#19]: https://github.com/neovim/neovim/milestone/19
10601108
[neovim/neovim#12655]: https://github.com/neovim/neovim#12655
10611109
[overleaf-latex-learn-math_expr]: https://www.overleaf.com/learn/latex/mathematical_expressions
1062-
[pandoc]: https://pandoc.org
10631110
[stanangeloff/php.vim]: https://github.com/StanAngeloff/php.vim
10641111
[vim-docs#php_syntax]: https://vimhelp.org/syntax.txt.html#ft%2dphp%2dsyntax
1065-
[vim-pandoc/vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax
10661112
[wikip-greek_alphabet]: https://en.wikipedia.org/wiki/Greek_alphabet
10671113

10681114
<!-- 0.17.0 -->
10691115

10701116
[gh-compare-tag-v0.16.0_v0.17.0]: https://github.com/arcticicestudio/nord-vim/compare/v0.16.0...v0.17.0
1071-
[neovim-docs-lsp]: https://neovim.io/doc/user/lsp.html
10721117
[neovim/neovim-v0.5.0]: https://github.com/neovim/neovim/releases/tag/v0.5.0
1073-
[neovim/nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig
10741118
[nvim-treesitter/nvim-treesitter-blob-90f15d9]: https://github.com/nvim-treesitter/nvim-treesitter/blob/90f15d9/plugin/nvim-treesitter.vim
10751119
[nvim-treesitter/nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter
10761120
[tree-sitter/tree-sitter]: https://github.com/tree-sitter/tree-sitter
1121+
1122+
<!-- 0.18.0 -->
1123+
1124+
[gh-compare-tag-v0.17.0_v0.18.0]: https://github.com/arcticicestudio/nord-vim/compare/v0.17.0...v0.18.0
1125+
[nvim-docs-lsp#codelens]: https://neovim.io/doc/user/lsp.html#lsp-highlight-codelens
1126+
[nvim-treesitter/nvim-treesitter-blob-fb5d6e04#l493-l495]: https://github.com/nvim-treesitter/nvim-treesitter/blob/fb5d6e04/doc/nvim-treesitter.txt#L493-L495
1127+
[nvim-treesitter/nvim-treesitter#1016#comment-797049591]: https://github.com/nvim-treesitter/nvim-treesitter/issues/1016#issuecomment-797049591
1128+
[nvim-treesitter/nvim-treesitter#78#comment-647140700]: https://github.com/nvim-treesitter/nvim-treesitter/issues/78#issuecomment-647140700

autoload/airline/themes/nord.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
" Repository: https://github.com/arcticicestudio/nord-vim
66
" License: MIT
77

8-
let s:nord_vim_version="0.17.0"
8+
let s:nord_vim_version="0.18.0"
99
let g:airline#themes#nord#palette = {}
1010

1111
let s:nord0_gui = "#2E3440"

autoload/lightline/colorscheme/nord.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
" Repository: https://github.com/arcticicestudio/nord-vim
66
" License: MIT
77

8-
let s:nord_vim_version="0.17.0"
8+
let s:nord_vim_version="0.18.0"
99
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
1010

1111
let s:nord0 = ["#2E3440", "NONE"]

colors/nord.vim

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if version > 580
1313
endif
1414

1515
let g:colors_name = "nord"
16-
let s:nord_vim_version="0.17.0"
16+
let s:nord_vim_version="0.18.0"
1717
set background=dark
1818

1919
let s:nord0_gui = "#2E3440"
@@ -574,6 +574,7 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "")
574574

575575
" Neovim LSP
576576
" > neovim/nvim-lspconfig
577+
call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", "", "")
577578
call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "")
578579
call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "")
579580
call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "")
@@ -690,14 +691,38 @@ hi! link jsNoise Delimiter
690691
hi! link jsPrototype Keyword
691692
hi! link jsRegexpString SpecialChar
692693

694+
" Pandoc
695+
" > vim-pandoc/vim-pandoc-syntax
696+
call s:hi("pandocDefinitionBlockTerm", s:nord7_gui, "", s:nord7_term, "", s:italic, "")
697+
call s:hi("pandocTableDelims", s:nord3_gui, "", s:nord3_term, "", "", "")
698+
hi! link pandocAtxHeader markdownH1
699+
hi! link pandocBlockQuote markdownBlockquote
700+
hi! link pandocCiteAnchor Operator
701+
hi! link pandocCiteKey pandocReferenceLabel
702+
hi! link pandocDefinitionBlockMark Operator
703+
hi! link pandocEmphasis markdownItalic
704+
hi! link pandocFootnoteID pandocReferenceLabel
705+
hi! link pandocFootnoteIDHead markdownLinkDelimiter
706+
hi! link pandocFootnoteIDTail pandocFootnoteIDHead
707+
hi! link pandocGridTableDelims pandocTableDelims
708+
hi! link pandocGridTableHeader pandocTableDelims
709+
hi! link pandocOperator Operator
710+
hi! link pandocPipeTableDelims pandocTableDelims
711+
hi! link pandocReferenceDefinition pandocReferenceLabel
712+
hi! link pandocReferenceLabel markdownLinkText
713+
hi! link pandocReferenceURL markdownUrl
714+
hi! link pandocSimpleTableHeader pandocAtxHeader
715+
hi! link pandocStrong markdownBold
716+
hi! link pandocTableHeaderWord pandocAtxHeader
717+
hi! link pandocUListItemBullet Operator
718+
693719
" tree-sitter
694720
" > nvim-treesitter/nvim-treesitter
695721
if has("nvim")
696722
hi! link TSAnnotation Annotation
697723
hi! link TSConstBuiltin Constant
698724
hi! link TSConstructor Function
699725
hi! link TSEmphasis Italic
700-
hi! link TSError Error
701726
hi! link TSFuncBuiltin Function
702727
hi! link TSFuncMacro Function
703728
hi! link TSStringRegex SpecialChar

0 commit comments

Comments
 (0)