mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
Compare commits
65 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f13f5dfbb7 | ||
|
|
f725ac643a | ||
|
|
684c345b8a | ||
|
|
0748955e9e | ||
|
|
bc0f057162 | ||
|
|
d32b4dd6aa | ||
|
|
6cbbf7a1bb | ||
|
|
2272dcf8ef | ||
|
|
c9e7f43e7f | ||
|
|
f3327dbde7 | ||
|
|
dd7666d8b0 | ||
|
|
dc6cc32341 | ||
|
|
bf09e50f5c | ||
|
|
085a184d5d | ||
|
|
b0a09b73f1 | ||
|
|
da94312d82 | ||
|
|
3c2e4113d9 | ||
|
|
5970582dc4 | ||
|
|
2df7a984d6 | ||
|
|
3a362b6da3 | ||
|
|
c2aaac39e5 | ||
|
|
865dd93ad4 | ||
|
|
6f183104bd | ||
|
|
bb1d027ff7 | ||
|
|
9c8ecad553 | ||
|
|
7e8d8abec9 | ||
|
|
bad9f6a5f2 | ||
|
|
5d1f14776a | ||
|
|
537c66ca7c | ||
|
|
a2d1bcc668 | ||
|
|
07452c7128 | ||
|
|
e5a54c7f09 | ||
|
|
a3af928ad5 | ||
|
|
f3f28b939f | ||
|
|
5867535cea | ||
|
|
ea7ff9c343 | ||
|
|
b3c46c8793 | ||
|
|
8a9754ce6c | ||
|
|
57dffa7469 | ||
|
|
16709e6576 | ||
|
|
5d58f9b598 | ||
|
|
776a02a89e | ||
|
|
bf09c474fe | ||
|
|
e3267e0c15 | ||
|
|
6ff18463f2 | ||
|
|
a46877360a | ||
|
|
7a52f66cfc | ||
|
|
1bd44ade46 | ||
|
|
e26b5d8bc0 | ||
|
|
a5c4a83224 | ||
|
|
6323f662d6 | ||
|
|
974a91906d | ||
|
|
0ccf70b6b0 | ||
|
|
aa1470403a | ||
|
|
7fd74817c3 | ||
|
|
0d352c4b3d | ||
|
|
38ab4a9c97 | ||
|
|
73b3d340a7 | ||
|
|
81d80e4a97 | ||
|
|
aaa496f835 | ||
|
|
a779726963 | ||
|
|
f68295473f | ||
|
|
273e7ea84d | ||
|
|
228f63e3f8 | ||
|
|
311d964d3a |
27
.editorconfig
Normal file
27
.editorconfig
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Configurations for EditorConfig.
|
||||
# See https://editorconfig.org/#file-format-details for more details.
|
||||
|
||||
# +--------------------+
|
||||
# + Base Configuration +
|
||||
# +--------------------+
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
max_line_length = 160
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# +-----------+
|
||||
# + Languages +
|
||||
# +-----------+
|
||||
# +--- Markdown ---+
|
||||
[*.{md}]
|
||||
max_line_length = off
|
||||
trim_trailing_whitespace = false
|
||||
14
.eslintignore
Normal file
14
.eslintignore
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Path match pattern to ignore (i.e. not lint) certain files and folders.
|
||||
# References:
|
||||
# 1. https://eslint.org/docs/latest/use/configure/ignore
|
||||
|
||||
node_modules/
|
||||
|
||||
# Explicitly include specific "dotfiles".
|
||||
# ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like
|
||||
# `.git` or any other critical paths.
|
||||
!**/.eslintrc.js
|
||||
!.remarkrc.mjs
|
||||
32
.eslintrc.js
Normal file
32
.eslintrc.js
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
* This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Configurations for ESLint.
|
||||
* @see https://eslint.org/docs/latest/use/configure
|
||||
* @see https://eslint.org/docs/latest/use/configure/#using-configuration-files
|
||||
* @see https://eslint.org/docs/latest/use/configure/#specifying-environments
|
||||
* @see https://eslint.org/docs/latest/rules
|
||||
*/
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: [
|
||||
"@svengreb/eslint-config-base",
|
||||
/*
|
||||
* Enable support for projects using Prettier.
|
||||
* Note that this must always be placed after the `@svengreb/eslint-config-base` preset to take precedence, otherwise it won't prevent errors
|
||||
* due to useless and possibly conflicting rules!
|
||||
*/
|
||||
"@svengreb/eslint-config-base/prettier",
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
files: ["*.js"],
|
||||
rules: {
|
||||
"capitalized-comments": "off",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
12
.gitattributes
vendored
Normal file
12
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Configuration to define attributes per path.
|
||||
#
|
||||
# References:
|
||||
# 1. https://git-scm.com/docs/gitattributes
|
||||
# 2. https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion
|
||||
|
||||
# Automatically perform line feed (LF) normalization for files detected as text and
|
||||
# leave all files detected as binary untouched.
|
||||
* text=auto eol=lf
|
||||
14
.github/codeowners
vendored
Normal file
14
.github/codeowners
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Configuration for the GitHub feature to automatically request reviews from the code owners
|
||||
# when a pull request changes any owned files.
|
||||
#
|
||||
# References:
|
||||
# 1. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location
|
||||
# 2. https://github.com/blog/2392-introducing-code-owners
|
||||
|
||||
# +----------------------+
|
||||
# + Core Team Code Owner +
|
||||
# +----------------------+
|
||||
* @svengreb
|
||||
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Path match pattern to intentionally ignore untracked files and directories.
|
||||
# See https://git-scm.com/docs/gitignore for more details.
|
||||
|
||||
# +---------+
|
||||
# + Node.js +
|
||||
# +---------+
|
||||
node_modules/
|
||||
13
.husky/pre-commit
Executable file
13
.husky/pre-commit
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.
|
||||
|
||||
# Git "pre-commit" hook for husky.
|
||||
# References:
|
||||
# 1. https://github.com/typicode/husky
|
||||
# 2. https://git-scm.com/docs/githooks#_pre_commit
|
||||
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm exec lint-staged
|
||||
8
.mailmap
Normal file
8
.mailmap
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Configuration for the Git mail mapping feature to coalesce together commits by the same person in the shortlog,
|
||||
# where their name and/or email address was spelled differently or has been changed.
|
||||
# See https://git-scm.com/docs/git-shortlog#_mapping_authors for more details.
|
||||
Sven Greb <development@svengreb.de>
|
||||
Sven Greb <development@svengreb.de> <development@arcticicestudio.com>
|
||||
25
.npmrc
Normal file
25
.npmrc
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Configurations for npm.
|
||||
# See https://docs.npmjs.com/cli/v7/configuring-npm/npmrc for more details.
|
||||
|
||||
# Disable the vulnerability auditing and checks which includes often way too many false-positives, insignificant
|
||||
# problems that are only for local development, and many other warnings that are overhelming.
|
||||
# Use dedicated vulnerability tools instead to filter and identify issue that really impact the project.
|
||||
# References:
|
||||
# 1. https://docs.npmjs.com/cli/v9/commands/npm-audit
|
||||
audit=false
|
||||
|
||||
# Only use a lockfile for single-consumer projects, like applications, but not for multi-consumer projects like
|
||||
# libraries.
|
||||
# It helps to pin dependency versions, improves the security through integrity checksums, prevents possible errors
|
||||
# caused by updated transitive dependencies and allows to get deterministic build results, but it can hide problems in
|
||||
# multi-consumer projects when any later versions of a used dependency, or its transitive dependencies, is not
|
||||
# compatible with the own project anymore.
|
||||
package-lock=true
|
||||
|
||||
# Do not resolve to the latest minor and patch updates.
|
||||
# Automatically pin dependencies to exact versions instead of resolving to latest minor and patch updates.
|
||||
# This prevents possible errors caused by updated transitive dependencies.
|
||||
save-exact=true
|
||||
8
.prettierignore
Normal file
8
.prettierignore
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Path match pattern to ignore (i.e. not reformat) certain files and folders.
|
||||
# See https://prettier.io/docs/en/ignore for more details.
|
||||
|
||||
.husky/_/
|
||||
node_modules/
|
||||
8
.remarkignore
Normal file
8
.remarkignore
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
# This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
# Path match pattern to ignore when searching for files.
|
||||
# See https://github.com/unifiedjs/unified-engine/blob/HEAD/doc/ignore.md for more details.
|
||||
|
||||
node_modules/
|
||||
license
|
||||
13
.remarkrc.mjs
Normal file
13
.remarkrc.mjs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
* This source code is licensed under the MIT license found in the license file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Configurations for remark-lint.
|
||||
* @see https://github.com/remarkjs/remark-lint
|
||||
* @see https://remark.js.org
|
||||
*/
|
||||
export default {
|
||||
plugins: ["@svengreb/remark-preset-lint"],
|
||||
};
|
||||
838
CHANGELOG.md
838
CHANGELOG.md
|
|
@ -1,838 +0,0 @@
|
|||
<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://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">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>
|
||||
|
||||
<!--lint disable no-duplicate-headings-->
|
||||
|
||||
# 0.14.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/20) [](https://github.com/arcticicestudio/nord-vim/milestone/16)
|
||||
|
||||
## Features
|
||||
|
||||
### UI
|
||||
|
||||
**Basic support for nvim-lsp (Language Server Protocol)** — #198 (⊶ 0ccf70b6) by [@alexanderjeurissen][gh-user-alexanderjeurissen]
|
||||
↠ Added basic support for [nvim-lsp][neovim/nvim-lsp], a collection of common configurations for the NVim language server protocol client.
|
||||
|
||||
## Improvements
|
||||
|
||||
### UI
|
||||
|
||||
**Consistent error highlighting between GUI and terminal mode** — #202 (⊶ 974a9190) by [@xulongwu4][gh-user-xulongwu4]
|
||||
↠ The highlighting of errors in GUI and _true color_ terminal mode now also uses `nord4` as foreground color of instead of `nord0`.
|
||||
|
||||
<p align="center"><strong>Before</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84657802-25b4c780-af15-11ea-9c28-a7f2262d4c97.png" /></p>
|
||||
<p align="center"><strong>After</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84657801-251c3100-af15-11ea-9c8a-84f63bafb866.png" /></p>
|
||||
|
||||
**Improved highlighting for “More“ separator** — #202 (⊶ 974a9190) by [@xulongwu4][gh-user-xulongwu4]
|
||||
↠ The highlighting of the _More_ separator is now highlighted with the `nord8` accent color.
|
||||
|
||||
<p align="center"><strong>Before</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84657821-2cdbd580-af15-11ea-9491-2fe5d6f7948f.png" /></p>
|
||||
<p align="center"><strong>After</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84657816-2c433f00-af15-11ea-9f22-f0d1296ae6e8.png" /></p>
|
||||
|
||||
**Transparent line number and cursor line background by default** — #204 (⊶ 6323f662) by [@xulongwu4][gh-user-xulongwu4]
|
||||
↠ Before the background color of the `LineNr` and `CursorLineNr` highlighting groups were set to `nord0` which was fine in most cases, but conflicted with plugins like [Yggdroot/LeaderF][] that renders line numbers in a popup windows with a different background color.
|
||||
|
||||
<p align="center"><strong>Before</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84664806-58fc5400-af1f-11ea-9fc9-c05264cca064.png" /></p>
|
||||
<p align="center"><strong>After</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84664799-57cb2700-af1f-11ea-9099-75eba70fad36.png" /></p>
|
||||
|
||||
# 0.13.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/19) [](https://github.com/arcticicestudio/nord-vim/milestone/15)
|
||||
|
||||
## Features
|
||||
|
||||
### UI
|
||||
|
||||
**Support uniform status line background configuration for _vim-airline_ and _lightline.vim_ themes** — #168 ⇄ #169 (⊶ 73b3d340) by [@jmurinello][gh-user-jmurinello]
|
||||
↠ Added support for the [uniform status line][nord-config-port-vim#uni_st_line] theme configuration, [introduced in version 0.7.0][gh-rel-v0.7.0] through [arcticicestudio/nord-vim#58][], for the bundled _vim-airline_ and _lightline.vim_ themes.
|
||||
|
||||
<p align="center"><code>lightline.vim</code></p>
|
||||
<p align="center"><strong>Before</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/16728775/61186256-340fb900-a69e-11e9-8887-b153b869de5c.png" /></p>
|
||||
<p align="center"><strong>After</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/16728775/61186259-38d46d00-a69e-11e9-9d2f-bf72f6b2af14.png" /></p>
|
||||
|
||||
<p align="center"><code>vim-airline</code></p>
|
||||
<p align="center"><strong>Before</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/16728775/61186260-3f62e480-a69e-11e9-9fcd-48b53307d97a.png" /></p>
|
||||
<p align="center"><strong>After</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/16728775/61186263-438f0200-a69e-11e9-8028-eee21ff3ceb0.png" /></p>
|
||||
|
||||
**Basic support for coc.vim (Conquer of Completion)** — #164 (⊶ a7797269) by [@hennessey][gh-user-hennessey]
|
||||
↠ Added basic support for [coc.nvim][neoclide/coc.nvim], a _Intellisense_ engine for Vim 8 & NeoVim with full language server protocol support.
|
||||
|
||||
**Basic support for _vim-startify_** — #159 ⇄ #176 (⊶ 38ab4a9c)
|
||||
↠ Added basic support for [vim-startify][mhinz/vim-startify] with custom highlight groups.
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/66123513-86e47700-e5e2-11e9-9fa8-e41dc07efc82.png" /></p>
|
||||
|
||||
## Improvements
|
||||
|
||||
### UI
|
||||
|
||||
**No underlined style for gutter line numbers** — #174 ⇄ #185 (⊶ 0d352c4b) by [@nixtrace][gh-user-nixtrace] and [@alexandremjacques][gh-user-alexandremjacques]
|
||||
↠ [Vim version 8.1.2029][vim/vim-rel-v8.1.2029] added the [`underline` attribute for the `CursorLineNr` group to `cterm`][vim/vim-diff#d9b0d83b...017ba07f] based on [vim/vim#4933][].
|
||||
This change resulted in gutter line numbers being underlined which has now been reverted back to Nord's style by explicitly setting the attribute for the group to `NONE`.
|
||||
|
||||
<p align="center"><strong>Before</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/70994055-a19c9700-20cd-11ea-94bb-fdc6f5ae32fc.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/70994054-a1040080-20cd-11ea-9ef9-890120ab1651.png" /></p>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
### Documentation
|
||||
|
||||
**Fix missing whitespace** — #165 (⊶ 81d80e4a) by [@vasilescur][gh-user-vasilescur]
|
||||
↠ Fixed a missing whitespace in the README project description.
|
||||
|
||||
# 0.12.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/18) [](https://github.com/arcticicestudio/nord-vim/milestone/14)
|
||||
|
||||
## Features
|
||||
|
||||
**Nord Docs Transition** — #158, #144 ⇄ #160 (⊶ 7be26147)
|
||||
↠ Transferred all documentations, assets and from „Nord Vim“ to [Nord Docs][nord]
|
||||
Please see the [corresponding issue in the Nord Docs repository][nord-docs#143] to get an overview of what has changed for Nord Vim and what has been done to migrate to Nord Docs.
|
||||
|
||||
###### Landing Page
|
||||
|
||||
<p align="center"><a href="https://www.nordtheme.com/ports/vim" target="_blank"><img src="https://user-images.githubusercontent.com/7836623/58123747-d1092500-7c0c-11e9-8ea1-d8a97b592acb.png" alt="Preview: Nord Vim Port Project Landing Page"/></a></p>
|
||||
|
||||
###### Landing Page Docs
|
||||
|
||||
<p align="center"><a href="https://www.nordtheme.com/docs/ports/vim" target="_blank"><img src="https://user-images.githubusercontent.com/7836623/58123746-d1092500-7c0c-11e9-990d-6e65d20cd935.png" alt="Preview: Nord Vim Docs Project Landing Page"/></a></p>
|
||||
|
||||
###### Installation & Activation Docs
|
||||
|
||||
<p align="center"><a href="https://www.nordtheme.com/docs/ports/vim/installation" target="_blank"><img src="https://user-images.githubusercontent.com/7836623/58123745-d1092500-7c0c-11e9-82d8-e1d60fc0d725.png" alt="Preview: Nord Vim Docs Installation & Activation Docs Page"/></a></p>
|
||||
|
||||
###### Configuration Docs
|
||||
|
||||
<p align="center"><a href="https://www.nordtheme.com/docs/ports/vim/configuration" target="_blank"><img src="https://user-images.githubusercontent.com/7836623/58123743-d0708e80-7c0c-11e9-9149-a3f023104b1c.png" alt="Preview: Nord Vim Docs Configuration Docs Page"/></a></p>
|
||||
|
||||
###### Customization Docs
|
||||
|
||||
<p align="center"><a href="https://www.nordtheme.com/docs/ports/vim/customization" target="_blank"><img src="https://user-images.githubusercontent.com/7836623/58123744-d0708e80-7c0c-11e9-84c7-50275e2696e1.png" alt="Preview: Nord Vim Docs Configuration Docs Page"/></a></p>
|
||||
|
||||
**Theme configuration for bold font style rendering** — #143 ⇄ #161 (⊶ 18a4e350) requested by [@tobydeh][gh-user-tobydeh]
|
||||
↠ Added a new [`nord_bold` theme configuration to allow to explicitly toggle bold font rendering styles][nord-docs-config-font-bold].
|
||||
It is enabled by default when running for both in GUI and terminal mode since most terminals and shells are capable to handle bold fonts.
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/58366170-a9e17a80-7ece-11e9-9b2d-e57d6fa574f6.png" /></p>
|
||||
|
||||
## Improvements
|
||||
|
||||
**Active match for increment search** — #139 ⇄ #140 (⊶ de24841a) by [@aborzunov][gh-user-aborzunov]
|
||||
↠ The currently active match during increment searches (`IncSearch`) is now highlighted differently (`nord10` as background and `nord6` as foreground) than inactive matches for a better visual distinction.
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/56081041-05691480-5e09-11e9-97e6-9220bdf5d030.png" /></p>
|
||||
|
||||
# 0.11.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/16) [](https://github.com/arcticicestudio/nord-vim/milestone/13)
|
||||
|
||||
## Features
|
||||
|
||||
### Syntax
|
||||
|
||||
**Basic support for Asciidoc syntax highlighting** — #131 ⇄ #152 (⊶ 6e6025b9) by [@tidux][gh-user-tidux]
|
||||
↠ Added basic syntax highlighting support for [Asciidoc][] that comes bundled with Vim 8.
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/56083880-1165ce00-5e2b-11e9-9389-f21435942464.png" /></p>
|
||||
|
||||
**Basic syntax highlighting support for Rust** — #138 ⇄ #154 (⊶ b0ffc6b5) by [@TerminalWitchcraft][gh-user-terminalwitchcraft]
|
||||
↠ Added basic syntax highlighting support for [Rust][].
|
||||
|
||||
[Traits][rustdoc-traits] and [enums][rustdoc-enums] are colorized with `nord7` and with bold font to make them visually stand out more.
|
||||
Also [attributes][rustdoc-attributes] and [derives][rustdoc-derives] are colored with `nord10`.
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56096828-3a4e9780-5eed-11e9-9d74-02b498a78ab1.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56096827-3a4e9780-5eed-11e9-8275-c97b2569f959.png" /></p>
|
||||
|
||||
[Macros][rustdoc-macros] are colorized with `nord8` and bold font to make them visually different from "normal" functions.
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56096834-463a5980-5eed-11e9-8d98-bbc814506779.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56096839-4df9fe00-5eed-11e9-8d8c-9a488105b0e9.png" /></p>
|
||||
|
||||
[Escape][rustdoc-escapes] sequences are colored with `nord13`.
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56096843-58b49300-5eed-11e9-9bb2-5541b3d68689.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56096842-58b49300-5eed-11e9-9ab6-52b709119c81.png" /></p>
|
||||
|
||||
Import statements and paths are correctly colored with keyword and type colors.
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56096847-623dfb00-5eed-11e9-91c3-cfe7621a2e5b.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56096846-623dfb00-5eed-11e9-9cce-30f14bdc7e57.png" /></p>
|
||||
|
||||
#### Plugin Support
|
||||
|
||||
**Haskell Syntax Plugin Support** — #104 ⇄ #150 (⊶ b0ffc6b5) by [@vabatta][gh-user-vabatta]
|
||||
↠ Added support for Haskell syntax through the [neovimhaskell/haskell-vim][] plugin.
|
||||
This includes better coloring for types/classes using `nord7` instead of highlighting them like keywords (`nord9`) and pre-processor and pragma elements are now colorized correctly with `nord10`.
|
||||
|
||||
#### Pragma
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56079623-6ee02780-5df7-11e9-8cfc-f3f62b1a79d4.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56079622-6e479100-5df7-11e9-9b80-650875c7fd55.png"/></p>
|
||||
|
||||
#### Pre-Processor
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56079625-6ee02780-5df7-11e9-9429-0ef098f31fb2.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56079624-6ee02780-5df7-11e9-8b85-33e624121d1e.png"/></p>
|
||||
|
||||
#### Types/Classes
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56079627-6ee02780-5df7-11e9-94c7-68952bfc1600.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56079626-6ee02780-5df7-11e9-904f-6fd27129c0f7.png"/></p>
|
||||
|
||||
### UI
|
||||
|
||||
**Theme config for bolder vertical split line** — #132 ⇄ #153 (⊶ 9059d7d8) by [@huyvohcmc][gh-user-huyvohcmc]
|
||||
↠ Previously the [`VertSplit`][vdoc-vsplit] (`:help VertSplit`) key used `nord1` as background color by default making the line appear to be very lumpy. This has now been changed to use `nord0` as background instead to visually merge with the background so only the separator characters are a visual indicator for the split line which makes it look more lightweight and declutters the overall appearance.
|
||||
|
||||
<p align="center"><strong>With base editor background (default)</strong><img src="https://user-images.githubusercontent.com/7836623/56088648-8e259600-5e85-11e9-8a6f-2c03d26eff4b.png" /></p>
|
||||
|
||||
<p align="center"><strong>With enabled bold <code>nord1</code> background</strong><img src="https://user-images.githubusercontent.com/7836623/56088647-8e259600-5e85-11e9-8be5-d86232ca8278.png" /></p>
|
||||
|
||||
To allow user who liked the previous implementation to keep the style a new `nord_bold_vertical_split_line` theme config was also added that can be assigned to `1` to achieve the legacy design.
|
||||
|
||||
```viml
|
||||
let g:nord_bold_vertical_split_line = 1
|
||||
```
|
||||
|
||||
The README includes information and hints how to change the separator character by customizing Vim's [`fillchars`][vdoc-fchar] (`:help fillchars`) variable.
|
||||
|
||||
#### Plugin Support
|
||||
|
||||
**`:terminal` status line in airline** — #134 (⊶ be815f09) by [@meck][gh-user-meck]
|
||||
↠ Added support for Vim's new `:terminal` mode in [airline][gh-src-airline].
|
||||
|
||||
<p align="center"><strong>Before: No <code>:terminal</code> support (before)</strong><img src="https://user-images.githubusercontent.com/7836623/56088997-ce881280-5e8b-11e9-9758-7c13c559b05c.png" /></p>
|
||||
|
||||
<p align="center"><strong>After: Support for airline's new <code>_term</code> theme keys</strong><img src="https://user-images.githubusercontent.com/7836623/56088996-ce881280-5e8b-11e9-839b-bc282f1fea0b.png" /></p>
|
||||
|
||||
## Improvements
|
||||
|
||||
### Syntax
|
||||
|
||||
**Better generator expressions in CMake** — #137 ⇄ #151 (⊶ d2774cbb) by [@markand][gh-user-markand]
|
||||
↠ [CMake generator expressions][cmake-doc-genexpr] are now highlighted using `nord10` as foreground instead of `nord13` as background and `nord0` as foreground.
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56079970-99cc7a80-5dfb-11e9-9528-83bbe92c51d3.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56079969-99cc7a80-5dfb-11e9-8afa-68c7878521c4.png"/></p>
|
||||
|
||||
### UI
|
||||
|
||||
#### Plugin Support
|
||||
|
||||
**airline warnings and errors** — #130 (⊶ e85dbe75) by [@axelitus][gh-user-axelitus]
|
||||
↠ Added support for error and warning elements of [airline][gh-src-airline].
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/56093512-f7c79380-5ec9-11e9-8107-a2d59b306ee0.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/56093511-f7c79380-5ec9-11e9-8be8-731fa0e52fc2.png" /></p>
|
||||
|
||||
**ALE error and warning support** — #135 (⊶ 9d82b7a1) by [@meck][gh-user-meck]
|
||||
↠ Added support highlighting and underlines for [ALE][plugin-ale] errors and warnings to also align the style with gutter signs.
|
||||
|
||||
# 0.10.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/15) [](https://github.com/arcticicestudio/nord-vim/milestone/12)
|
||||
|
||||
## Features
|
||||
|
||||
**Vim 8 terminal highlighting** — #125 ⇄ #126 (⊶ 83f8c260) by [@cg433n][gh-user-cg433n]
|
||||
↠ Added support for the Vim's built-in terminal (`:terminal`) that comes with version 8.0.0 and higher.
|
||||
|
||||
## Improvements
|
||||
|
||||
**Comment Color Brightness** — #145 ⇄ #146 (⊶ 9e0249ca)
|
||||
↠ Implemented the increase of the comment color (`nord3`) brightness by 10% from a lightness level of ~35% to ~45%.
|
||||
|
||||
➜ **Please see [arcticicestudio/nord#94][gh-nord#94] for all details about this design change decision**!
|
||||
|
||||
⚠ **NOTE**: This change also **deprecates the [comment contrast][readme-config-comment-brightness] configuration** that will be removed in Nord Vim version 1.0.0!
|
||||
The default comment color has been adjusted so the configuration is not required anymore for users to increase the brightness on their own.
|
||||
To notify users about this change a deprecation warning will be shown when the `g:nord_comment_brightness` configuration variable has been set and initialized through the user's configuration.
|
||||
|
||||
**Improved compatibility of airline with tmuxline.vim plugin** — #117 ⇄ #128 (⊶ 3150628f)
|
||||
↠ The [Nord airline.vim][gh-src-airline] UI plugin theme now includes better support for the [tmuxline.vim][gh-tmuxline.vim] plugin. Previously text shown in the main segment of the _tmuxline_, generated via the `:Tmuxline airline` command, caused a `bad colour: NONE` error or 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. …[#11][gh-11] was used as implementation reference since it fixed the same incompatibility for the [lightline.vim][gh-lightline.vim] plugin.
|
||||
|
||||

|
||||
|
||||
# 0.9.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/13) [](https://github.com/arcticicestudio/nord-vim/milestone/11)
|
||||
|
||||
## Features
|
||||
|
||||
### Syntax
|
||||
|
||||
#### Plugin Support
|
||||
|
||||
❯ Added support for the [YAML][] plugin [stephpy/vim-yaml][plugin-stephpy/vim-yaml] which improves the highlighting for keys to match the JSON syntax style. (PR #120, @mdzhang, b1478b07)
|
||||
|
||||
<p align="center"><p><strong>Before</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816223-b5b7df7c-777f-11e8-85ba-ac945b68e751.png" /></p>
|
||||
|
||||
<p align="center"><p><strong>After</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816222-b5a091c8-777f-11e8-9db9-38b96e8a3eb1.png" /></p>
|
||||
|
||||
❯ Added basic syntax highlighting support for [vimwiki][plugin-vimwiki/vimwiki]. (PR #98 in PR #114, @smesko85, 9e7addbc)
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/41807872-85a56eee-76d5-11e8-9dd3-8319f7dae829.png" /></p>
|
||||
|
||||
### UI
|
||||
|
||||
❯ Added a new [configuration to allow users to enable background for the line number of the current line][readme-config-line-number-background]. It can be enabled by setting the `g:nord_cursor_line_number_background` variable to `1`. (PR #100, @andrepolischuk, 035e36de)
|
||||
|
||||
```vim
|
||||
let g:nord_cursor_line_number_background = 1
|
||||
```
|
||||
|
||||
<p align="center"><strong>No background (default)</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-cursor-line-number-background-default.png" /></p>
|
||||
|
||||
<p align="center"><strong>Enabled background</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-cursor-line-number-background.png" /></p>
|
||||
|
||||
❯ Added a new [configuration to allow users to globally toggle underlines][readme-config-underline-support] for cases where the terminal emulator might not be capable to handle underlines in terminal mode. It can be enabled by setting the `g:nord_underline` variable to `1`. (#106 in PR #127 (supersedes #109), @dylnmc @markand , 01cfd1be)
|
||||
|
||||
<p align="center"><strong>Underlined Text</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-underline.png"/></p>
|
||||
|
||||
❯ Added support for the status line of the `:terminal` window mode for Vim or Neovim. (PR #108 (supersedes #103), @dylnmc, 922504fb)
|
||||
|
||||
<p align="center"><strong>Before</strong><img src="https://user-images.githubusercontent.com/7836623/41812738-86c84262-7728-11e8-8bf4-476eb99e892e.png" /></p>
|
||||
|
||||
<p align="center"><strong>After</strong><img src="https://user-images.githubusercontent.com/7836623/41812737-86b2def4-7728-11e8-9d8a-9976038dda92.png" /></p>
|
||||
|
||||
#### Plugin Support
|
||||
|
||||
❯ Added highlighting support for the navigation marks in the sign column of the [kshenoy/vim-signature][plugin-kshenoy/vim-signature] plugin. (PR #122, @kooparse, 1df39453)
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/41816354-1133d24a-7783-11e8-8242-0e7d4c3b555c.png" /></p>
|
||||
|
||||
## Improvements
|
||||
|
||||
### Syntax
|
||||
|
||||
❯ Added highlighting for the JavaScript keyword `this`. (PR #119, @kristijanhusak, 4fe2d43e)
|
||||
|
||||
<p align="center"><p><strong>Before</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816139-3c6f145c-777d-11e8-8f5b-58f122dc5050.png" /></p>
|
||||
|
||||
<p align="center"><p><strong>After</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816138-3c578198-777d-11e8-83f0-62f7aad0ce13.png" /></p>
|
||||
|
||||
### UI
|
||||
|
||||
❯ The cursor is now correctly shown and visible when leaving a terminal window from within Vim or Neovim by adding the `TermCursorNC` group. (PR #101, @meck, 2fac9fa0)
|
||||
|
||||
❯ The „inline marker“ in unified _diffs_ is now colorized differently than the background of the changed line to make the changes better and faster recognizable. This applies for both the [uniform _diff_ background mode][readme-config-uniform-diff-background] and normal _diff_ mode. (PR #121, @ironhouzi, 65c559ee)
|
||||
|
||||
<p align="center"><p><strong>Before/After comparison of default <em>diff</em> mode</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816510-4d548a90-7787-11e8-9fbd-9ae572763c22.png" /><br><img src="https://user-images.githubusercontent.com/7836623/39664393-e75f52b8-5082-11e8-8bb0-ba19c11dd391.png" /></p>
|
||||
|
||||
<p align="center"><p><strong>Before/After comparison of uniform <em>diff</em> mode</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816511-4d6aeb82-7787-11e8-90b4-f7c67ad9d952.png" /><br><img src="https://user-images.githubusercontent.com/7836623/39699476-acb7e1ca-51f9-11e8-9eca-8efc44b184f7.png" /></p>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
### UI
|
||||
|
||||
❯ The current line number's color is now highlighted correctly in terminal mode. Previously it was only highlighted when running in GUI mode or when `termguicolors` has been set. (#116 in 50ec737b (PR #100), @huyvohcmc @dylnmc)
|
||||
|
||||
<p align="center"><p><strong>Before</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816653-d62d808a-778a-11e8-8bce-d1f76a1e6fae.png" /></p>
|
||||
|
||||
<p align="center"><p><strong>After</strong></p><img src="https://user-images.githubusercontent.com/7836623/41816652-d61787bc-778a-11e8-9371-c0bfd852f491.png" /></p>
|
||||
|
||||
# 0.8.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/11) [](https://github.com/arcticicestudio/nord-vim/milestone/10)
|
||||
|
||||
## Features
|
||||
|
||||
### Plugin Support
|
||||
|
||||
#### UI
|
||||
|
||||
❯ Added support for [vim-signify][plugin-mhinz/vim-signify]. (PR #81, @dabio, edcdd0e4)
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/34623682-a7b7e960-f252-11e7-9194-c82aff310a75.png"/></p>
|
||||
|
||||
## Improvements
|
||||
|
||||
### UI
|
||||
|
||||
❯ The color of links in `:help` was the same as normal text making it impossible to to distinguish between both. This has been improved by using `nord8` including the help bars when enabled with `:set conceallevel=2`. (#85 in PR #93, @delphinus, e9974fe6)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/34460697-25f5be7e-ee16-11e7-9c57-32bb2ec15314.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/34460700-35bddeea-ee16-11e7-976b-e00cfe80c462.png"/></p>
|
||||
|
||||
### Documentation
|
||||
|
||||
❯ The lightline screenshots in the documentation have been made using the [lightline's advanced configurations][itchyny/lightline-adv-config]. This confused users when the lighline does not equal the one seen on the screenshot due to the default lightline configuration. This has now been clarified including a additional screenshot showing the appearance of the lightline when using the default configuration. (#74 in PR #94, @lokesh-krishna, 3c14c961)
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-plugin-support-ui-lightline-default.png"/></p>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
❯ The background color for matching parens is now assigned to the right color `nord3` instead of `nord0` in GUI mode. (#95 in PR #96, @dylnmc, 8bc1be01)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/34619232-cd9ea512-f241-11e7-8045-e4ac695d56bb.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/34619246-dc2bee0a-f241-11e7-9ce6-c3d51ed6ec75.png"/></p>
|
||||
|
||||
# 0.7.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/10) [](https://github.com/arcticicestudio/nord-vim/milestone/9)
|
||||
|
||||
## Features
|
||||
|
||||
❯ Added a new [configuration to allow users to increase the comment brightness][readme-config-comment-brightness] by 1 - 20 percent. It can be enabled by setting the `g:nord_comment_brightness variable` to a number between `1` and `20`. (#48 in PR #56, @drzel, e18ab4e8)
|
||||
|
||||
**This option should only be enabled if the terminal supports 24bit true color (16 million colors) and requires the `termguicolors` option to be set is in `~/.vimrc` or via `:set termguicolors`!**
|
||||
|
||||
<p align="center"><strong>Default and 15% increased</strong><br><img src="https://user-images.githubusercontent.com/7836623/30772939-a65c92b6-a066-11e7-92f2-2f7089fe7700.png"/><br><img src="https://user-images.githubusercontent.com/7836623/30772941-b85577d0-a066-11e7-9c64-b9dab6736034.png"/></p>
|
||||
|
||||
<p align="center"><strong>Default and 12% increased</strong><br><img src="https://user-images.githubusercontent.com/7836623/30772949-ea459978-a066-11e7-8092-9e6522f9b7bf.png"/><br><img src="https://user-images.githubusercontent.com/7836623/30772950-eb8c2c84-a066-11e7-92d2-a64ac5f20521.png"/></p>
|
||||
|
||||
To adhere to the Nord design guidelines this option uses `nord3` by default.
|
||||
|
||||
This is a reference table if users like to use the same increased contrast values as provided by the [Nord Atom Syntax accessibility custom comment contrast theme setting][nord-atom-syntax-pr-47] which are calculated using the LESSCSS [`lighten`][lesscss-doc-fn-lighten] function.
|
||||
|
||||
| Increased by | Calculated value |
|
||||
| ------------ | ---------------- |
|
||||
| 1% | `#4e586d` |
|
||||
| 2% | `#505b70` |
|
||||
| 3% | `#525d73` |
|
||||
| 4% | `#556076` |
|
||||
| 5% | `#576279` |
|
||||
| 6% | `#59647c` |
|
||||
| 7% | `#5b677f` |
|
||||
| 8% | `#5d6982` |
|
||||
| 9% | `#5f6c85` |
|
||||
| 10% | `#616e88` |
|
||||
| 11% | `#63718b` |
|
||||
| 12% | `#66738e` |
|
||||
| 13% | `#687591` |
|
||||
| 14% | `#6a7894` |
|
||||
| 15% | `#6d7a96` |
|
||||
| 16% | `#6f7d98` |
|
||||
| 17% | `#72809a` |
|
||||
| 18% | `#75829c` |
|
||||
| 19% | `#78859e` |
|
||||
| 20% | `#7b88a1` |
|
||||
|
||||
More information about true color and the support in various terminals can be found in [this gist][gist-colors-in-terminals].
|
||||
|
||||
❯ Added a new [configuration for a uniform _diff_ background color][readme-config-uniform-diff-background]. (#60 in PR #61 #62 #65, @dylnmc @aidanharris @berkin, 958322d0)
|
||||
|
||||

|
||||
|
||||
Setting `g:nord_uniform_diff_background` to `1` enables the uniform diff background using `nord1`:
|
||||
|
||||

|
||||
|
||||
❯ Added a new [configuration to use uniform activate- and inactive status line backgrounds][readme-config-uniform-statusline-background]. (#37 in PR #58, @dylnmc @DenniJensen, 93056802)
|
||||
|
||||
<p align="center"><strong>Default status lines</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-uniform-status-lines-default.png"/></p>
|
||||
|
||||
<p align="center"><strong>Uniform status lines</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-config-uniform-status-lines.png"/></p>
|
||||
|
||||
❯ Added a new [configuration to explicitly enable italic text formatting][readme-config-italic]. (#88 in PR #89, @lokesh-krishna @dylnmc, dbfc55ff)
|
||||
|
||||
**Please note that this option should only be enabled if the used terminal supports italics!**
|
||||
|
||||
<p align="center"><strong>With enabled option for italic comments</strong><br><img src="https://user-images.githubusercontent.com/7836623/34433722-6c7f0a4e-ec81-11e7-8af9-ebc227b6535e.png"/></p>
|
||||
|
||||
<p align="center"><strong>Markdown syntax styling</strong><br><img src="https://user-images.githubusercontent.com/7836623/34455900-697cbb6c-ed89-11e7-8c2b-29ec7dbcd703.png"/></p>
|
||||
|
||||
❯ Added support for NeoVim UI terminal colors. (#63, @meck, af01167b)
|
||||
|
||||
### Plugin Support
|
||||
|
||||
#### Syntax
|
||||
|
||||
❯ Added support for the [plasticboy/vim-markdown][plugin-plasticboy/vim-markdown] syntax plugin to match the style of the built-in markdown syntax styles. (#45 in PR #57, @VVVFO, 09921268)
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
#### UI
|
||||
|
||||
❯ Added support for the `PlugClean` command of the [junegunn/vim-plug][plugin-junegunn/vim-plug] plugin which used the `Ignore` group by default for deleted directory listings resulting in unreadable text when `cursorline` has been set. (#43 in PR #59, @dylnmc, e532b5d6)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/30959403-53d9cd0a-a440-11e7-8c38-3045e280131a.gif"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/30959419-618876ea-a440-11e7-8895-6e9acfd8b830.gif"/></p>
|
||||
|
||||
❯ Added basic support for [tpope/vim-fugitive][plugin-tpope/vim-fugitive]. (#76 in PR #77, @anhari, fa09c3b1)
|
||||
|
||||
Filenames are now highlighted when using the `:Gstatus` command.
|
||||
|
||||

|
||||
|
||||
## Improvements
|
||||
|
||||
### Syntax
|
||||
|
||||
❯ Added highlight support for legacy _diff_ groups `diffAdded` and `diffRemoved` of the `git.vim` and `diff.vim` syntx definitions. (#66 in PR #67, @brandoniffert, 99e59e67)
|
||||
|
||||
These groups are not in the [official vim documentation][vim-doc-diffadd] but are still used by the syntax for example when run with `git commit --verbose`.
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/32219558-d906cf5c-be2e-11e7-98e7-d22583bac4f0.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/32219588-f00e0c4c-be2e-11e7-91e7-87bb28c48721.png"/></p>
|
||||
|
||||
❯ Added highlighting support for Markdown _italic_ and **bold** delimiter. (#90 in PR #92, 97c8aa24)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/34452697-fd3d6502-ed45-11e7-9ba1-8e19e032c009.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/34452755-ee8046a0-ed46-11e7-8f3d-b9567995a9b4.png"/></p>
|
||||
|
||||
❯ Added missing Markdown _italic_ and **bold** groups. (#84 in PR #91, @lokesh-krishna @dylnmc, 63b46125)
|
||||
|
||||
❯ Improved the highlighting for matching parens. (#75 and #71 in PR #78, @vincentzhezhang @cryptomaniac512 @dylnmc, 8eb7b2a6)
|
||||
|
||||
The background color intensity under the cursor was too bright and the cursor no more visible causing the user to be distracted to focus on the matching bracket instead of the bracket at the cursor position.
|
||||
|
||||
To optimally improve the highlighting `nord3` will now be used as background color for the matching element which doesn't conflict with the `cursorline` color and also stands out in order to see the matching element.
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/34409455-3370fada-ebca-11e7-9ed8-d83c3a9c5055.png"/></p>
|
||||
|
||||
<p align="center"><strong>After with <code>cursorline</code> option</strong><br><img src="https://user-images.githubusercontent.com/7836623/34409567-d8c64bfc-ebca-11e7-919a-1a40cf146084.png"/></p>
|
||||
|
||||
<p align="center"><strong>After without <code>cursorline</code> option</strong><br><img src="https://user-images.githubusercontent.com/7836623/34409570-dec9c1aa-ebca-11e7-8e68-32b79ec0d7c9.png"/></p>
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/34409581-eddcefc8-ebca-11e7-9ab7-29b80704d836.gif"/></p>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
❯ _TODO_ keywords are now highlighted correctly for Neovim and gVim (#52 in PR #53, @dylnmc, 063620f0)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/30737840-4c8014e0-9f88-11e7-9a26-7dea066e3316.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/30737858-5a7be150-9f88-11e7-9053-2aa75787a76d.png"/></p>
|
||||
|
||||
❯ Fixed invisible inactive lightline bars (PR #73, @dylnmc, 788876b8)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7635158/32986925-d6a79234-ccaa-11e7-9561-43daffa1722c.png"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7635158/32986927-e41880f4-ccaa-11e7-9444-316958ec74c1.png"/></p>
|
||||
|
||||
❯ Fixed the `WildMenu` background color for current selection (tab completion) not being visible. (#64 in PR #80, @markand, 53fce0db)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://user-images.githubusercontent.com/7836623/33609457-76d72fce-d9c8-11e7-9048-d2c6c7ed7800.gif"/></p>
|
||||
|
||||
<p align="center"><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/33609464-806ee55e-d9c8-11e7-8020-58030141fac3.gif"/></p>
|
||||
|
||||
## Tasks
|
||||
|
||||
❯ Added the included [lightline theme to the official lightline repository][itchyny/lightline.vim-gh-257]. (#68 in [itchyny/lightline#257][itchyny/lightline.vim-gh-257], @lokesh-krishna, itchyny/lightline@e69081c1370a57647e05df21b60a4ef092c3ce91)
|
||||
|
||||
### Documentation
|
||||
|
||||
❯ Migrated to the MIT license to adapt to the migration of the main [Nord][nord-gh] project. Detailed information can be found in the [main task ticket][gh-55-arcticicestudio/nord]. (#69 in PR #70, fa55dc35)
|
||||
|
||||
# 0.6.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/9) [](https://github.com/arcticicestudio/nord-vim/milestone/8)
|
||||
|
||||
## Features
|
||||
|
||||
### Plugin Support
|
||||
|
||||
#### UI
|
||||
|
||||
❯ Added basic support for [CtrlP][plugin-ctrlp]. (PR #33, @syedelec)
|
||||
|
||||
- Matched characters are using the keyword color instead of the normal text color to make matched characters visible
|
||||
- Already opened buffers now take the normal text color instead of the comment color
|
||||
|
||||
❯ Added basic support [ALE][plugin-ale]. (PR #44, @meck)
|
||||
|
||||
- Warning signs are colorized using a `nord13` foreground
|
||||
- Error signs are colorized using a `nord11` foreground instead of a red background with a white foreground
|
||||
|
||||
## Improvements
|
||||
|
||||
### UI
|
||||
|
||||
❯ The fold marker foreground has been adjusted to match the comment color instead of `nord1` which has been too dark causing them to be unreadable in bright environments. The background color has also been changed to `nord1` to differ from normal comments and the font style is now bold for better legibility. (#38 in PR #40, @dylnmc)
|
||||
|
||||

|
||||
|
||||
❯ The highlight text of a active substitute search result is now underlined in order to make it more recognizable. (#35 in PR #41, @KevinSjoberg)
|
||||
|
||||

|
||||
|
||||
#### Neovim
|
||||
|
||||
❯ Addded support for the Neovim specific `:CheckHealth` status highlight groups. (#31 in PR #42, @syedelec, Thanks to @dylnmc)
|
||||
|
||||
<p align="center"><strong>Before</strong<br><img src="https://user-images.githubusercontent.com/7836623/28258007-150c94d6-6acf-11e7-92ee-c830e26067e4.png"/><br><strong>After</strong><br><img src="https://user-images.githubusercontent.com/7836623/28258017-21c124a8-6acf-11e7-9e93-dfacf0ad8b15.png"/></p>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
### UI
|
||||
|
||||
❯ Fixed unreadable text color on pending search result highlights. (#32 in PR #39, @syedelec)
|
||||
|
||||
<p align="center">Before<br><img src="https://user-images.githubusercontent.com/7836623/28238074-20069028-694c-11e7-985f-f46f8c343ac5.png"/><br>After<br><img src="https://user-images.githubusercontent.com/7836623/28238077-297ccec4-694c-11e7-91cf-dcaae7aefb6d.png"/></p>
|
||||
|
||||
# 0.5.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/8) [](https://github.com/arcticicestudio/nord-vim/milestone/7)
|
||||
|
||||
## Improvements
|
||||
|
||||
### Language Support
|
||||
|
||||
❯ Implemented optimized styles for Ruby (@hahuang65, #29, 085c1337)
|
||||
|
||||
- Symbols (`rubySymbol`) now have a bold font style
|
||||
- Block parameter list symbols (`rubyBlockParameterList`) are now colorized as keywords
|
||||
- Local (variable) methods (`rubyLocalVariableOrMethod`) are now colorized as methods
|
||||
|
||||
<p align="center"><img src="https://cloud.githubusercontent.com/assets/7836623/25083146/af02dd0a-2355-11e7-8adc-f53b0803a484.png"/></p>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
### Documentation
|
||||
|
||||
❯ Fixed a typo in the project description. (@arcticicestudio, #28, b2134029)
|
||||
|
||||
# 0.4.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/7) [](https://github.com/arcticicestudio/nord-vim/milestone/6)
|
||||
|
||||
## Features
|
||||
|
||||
### Configurations
|
||||
|
||||
❯ 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
|
||||
let g:nord_italic_comments = 1
|
||||
```
|
||||
|
||||
(@kepbod, #13 (PR #16), dc6149f4)
|
||||
|
||||
## Improvements
|
||||
|
||||
### Plugin Support
|
||||
|
||||
❯ The method/function signature live preview of the [`jedi-vim`](https://github.com/davidhalter/jedi-vim) plugin is now colorized correctly. (@mkalinski, #14, a5c3459a)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/22618347/4857d88e-eada-11e6-9696-83a8886f5771.png"/><br><strong>After</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/22618354/63ddffde-eada-11e6-8a60-52a39642728e.png"/></p>
|
||||
|
||||
### Language Support
|
||||
|
||||
❯ Implemented optimized styles for the Python syntax group `pythonEscape`. (@mkalinski, #22, 360a76ea)
|
||||

|
||||
|
||||
❯ Implemented optimized styles for the SQL syntax groups `sqlSpecial` which is now linked to the `sqlKeyword` group to colorize constants like `true`/`false` and `null` as keywords. (@mkalinski, #23, dcfb441e)
|
||||
|
||||
### Documentation
|
||||
|
||||
❯ Added the new terminal emulator port project [Nord Hyper](https://github.com/arcticicestudio/nord-hyper)
|
||||
[](https://github.com/arcticicestudio/nord-hyper)
|
||||
|
||||
# 0.3.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/6) [](https://github.com/arcticicestudio/nord-vim/milestone/5)
|
||||
|
||||
## Improvements
|
||||
|
||||
### 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.
|
||||
This has been fixed by using `nord5` as foreground color. (@scottwillmoore, #11, 4ea37f7e)
|
||||
|
||||
<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>
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
### Documentation
|
||||
|
||||
❯ Fixed a typo in the [README installation guide](https://github.com/arcticicestudio/nord-vim#via-pluginruntimepath-manager) for Vundle. (@kepbod, #10, 29145bbb)
|
||||
|
||||
❯ Fixed the banner of the [Nord iTerm2](https://github.com/arcticicestudio/nord-iterm2) port project showing the [Nord GNOME Terminal](https://github.com/arcticicestudio/nord-gnome-terminal) banner instead. (@shvetsovdm, #8 / [nord/#9](https://github.com/arcticicestudio/nord/issues/9), 7a447b40)
|
||||
|
||||
# 0.2.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/5) [](https://github.com/arcticicestudio/nord-vim/milestone/4)
|
||||
|
||||
## Improvements
|
||||
|
||||
❯ Characters under block cursors are now colored darker (`nord0`) while the block cursor is visible to achieve a optimal contrast and to avoid unreadability due to the same cursor- and foreground color (`nord4`). (@arcticicestudio / @scottwillmoore, #9, 30e1f7e3)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21586772/f08a56d2-d0d4-11e6-84e0-37e3021317ad.png"/><br><strong>After</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21586785/23ef246c-d0d5-11e6-8573-2e0d8391186c.gif"/></p>
|
||||
|
||||
❯ The background color of visual mode selections is now colored in `nord1` instead of `nord3` to avoid a color collision with comments which has led to unreadable text.(@scottwillmoore, #7, bdb209f5)
|
||||
|
||||
<p align="center"><strong>Before</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21588201/c8aa75ba-d0e4-11e6-9426-96bfab1c545f.gif"/><br><strong>After</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/21588207/d67f29b0-d0e4-11e6-8eba-117f38a9c073.gif"/></p>
|
||||
|
||||
# 0.1.2
|
||||
|
||||
_2017-01-01_
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/4) [](https://github.com/arcticicestudio/nord-vim/milestone/3)
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
❯ Fixed a bug where the `g:colors_name` variable has been unset caused by the `syntax reset` call due to the execution
|
||||
order. (@shuei72, #5, f8ffce24)
|
||||
|
||||
# 0.1.1
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/3) [](https://github.com/arcticicestudio/nord-vim/milestone/2)
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
❯ Fixed wrong color variables (`*_term` to `*_gui`) for the `guisp` attribute of all `Spell*` highlighting groups which caused error logs while loading `vim`/`gvim`/MacVim. (@kamwitsta, #4, 4d642b9b)
|
||||
|
||||
# 0.1.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/2) [](https://github.com/arcticicestudio/nord-vim/milestone/1)
|
||||
|
||||
## Features
|
||||
|
||||
Detailed information about features, supported plugins/languages and install instructions can be found in the [README](https://github.com/arcticicestudio/nord-vim/blob/develop/README.md#installation) and in the [project wiki](https://github.com/arcticicestudio/nord-vim/wiki).
|
||||
|
||||
❯ Implemented the main color theme file [`nord.vim`](https://github.com/arcticicestudio/nord-vim/blob/develop/colors/nord.vim). (@arcticicestudio, #1, e2832b9)
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-lang-javascript.png"/></p>
|
||||
|
||||
❯ Implemented the [lightline](https://github.com/itchyny/lightline.vim) color scheme file [`nord.vim`](https://github.com/arcticicestudio/nord-vim/blob/develop/autoload/lightline/colorscheme/nord.vim). (@arcticicestudio, #2, f9891ffe)
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-plugin-support-ui-lightline.png"/></p>
|
||||
|
||||
❯ Implemented the [airline](https://github.com/vim-airline/vim-airline) color theme file [`nord.vim`](https://github.com/arcticicestudio/nord-vim/blob/develop/autoload/airline/themes/nord.vim). (@arcticicestudio, #3, e54464a7)
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-vim/develop/assets/scrot-plugin-support-ui-airline.png"/></p>
|
||||
|
||||
# Project Initialization
|
||||
|
||||

|
||||
|
||||
<!--
|
||||
+------------------+
|
||||
+ 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
|
||||
-->
|
||||
|
||||
<!-- lint disable final-definition -->
|
||||
|
||||
<!-- Base Links -->
|
||||
|
||||
[asciidoc]: https://asciidoctor.org
|
||||
[gh-11]: https://github.com/arcticicestudio/nord-vim/issues/11
|
||||
[gh-55-arcticicestudio/nord]: https://github.com/arcticicestudio/nord/issues/55
|
||||
[gh-lightline.vim]: https://github.com/itchyny/lightline.vim
|
||||
[gh-nord#94]: https://github.com/arcticicestudio/nord/issues/94
|
||||
[gh-src-airline]: https://github.com/arcticicestudio/nord-vim/blob/develop/autoload/airline/themes/nord.vim
|
||||
[gh-tmuxline.vim]: https://github.com/edkolev/tmuxline.vim
|
||||
[gh-user-cg433n]: https://github.com/cg433n
|
||||
[gist-colors-in-terminals]: https://gist.github.com/XVilka/8346728
|
||||
[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
|
||||
[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
|
||||
[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
|
||||
[plugin-kshenoy/vim-signature]: https://github.com/kshenoy/vim-signature
|
||||
[plugin-mhinz/vim-signify]: https://github.com/mhinz/vim-signify
|
||||
[plugin-plasticboy/vim-markdown]: https://github.com/plasticboy/vim-markdown
|
||||
[plugin-stephpy/vim-yaml]: https://github.com/stephpy/vim-yaml
|
||||
[plugin-tpope/vim-fugitive]: https://github.com/tpope/vim-fugitive
|
||||
[plugin-vimwiki/vimwiki]: https://github.com/vimwiki/vimwiki
|
||||
[readme-config-comment-brightness]: https://github.com/arcticicestudio/nord-vim#comment-contrast
|
||||
[readme-config-italic]: https://github.com/arcticicestudio/nord-vim#italic-support
|
||||
[readme-config-line-number-background]: https://github.com/arcticicestudio/nord-vim#line-number-background
|
||||
[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
|
||||
[yaml]: http://yaml.org
|
||||
|
||||
<!--v 0.11.0 -->
|
||||
|
||||
[cmake-doc-genexpr]: https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html
|
||||
[gh-user-axelitus]: https://github.com/axelitus
|
||||
[gh-user-huyvohcmc]: https://github.com/huyvohcmc
|
||||
[gh-user-markand]: https://github.com/markand
|
||||
[gh-user-meck]: https://github.com/meck
|
||||
[gh-user-terminalwitchcraft]: https://github.com/terminalwitchcraft
|
||||
[gh-user-tidux]: https://github.com/tidux
|
||||
[gh-user-vabatta]: https://github.com/vabatta
|
||||
[neovimhaskell/haskell-vim]: https://github.com/neovimhaskell/haskell-vim
|
||||
[rustdoc-attributes]: https://doc.rust-lang.org/reference/attributes.html
|
||||
[rustdoc-derives]: https://doc.rust-lang.org/edition-guide/rust-2018/macros/custom-derive.html
|
||||
[rustdoc-enums]: https://doc.rust-lang.org/1.1.0/book/enums.html
|
||||
[rustdoc-escapes]: https://doc.rust-lang.org/reference/tokens.html#ascii-escapes
|
||||
[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 -->
|
||||
|
||||
[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 -->
|
||||
|
||||
[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
|
||||
[gh-user-alexandremjacques]: https://github.com/alexandremjacques
|
||||
[gh-user-hennessey]: https://github.com/hennessey
|
||||
[gh-user-jmurinello]: https://github.com/jmurinello
|
||||
[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 -->
|
||||
|
||||
[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
|
||||
86
README.md
86
README.md
|
|
@ -1,86 +0,0 @@
|
|||
<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://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> <a href="https://github.com/arcticicestudio/nord-vim/blob/develop/CHANGELOG.md#050"><img src="https://img.shields.io/github/release/arcticicestudio/nord-vim.svg?style=flat-square&label=Changelog&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"/></a></p>
|
||||
|
||||
<p align="center"><a href="https://github.com/arcticicestudio/styleguide-markdown/releases/latest" target="_blank"><img src="https://img.shields.io/github/release/arcticicestudio/styleguide-markdown.svg?style=flat-square&label=Markdown%20Style%20Guide&colorA=4c566a&colorB=88c0d0&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOSIgaGVpZ2h0PSIzOSIgdmlld0JveD0iMCAwIDM5IDM5Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNEOERFRTkiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMS41IDEuNWgzNnYzNmgtMzZ6Ii8%2BPHBhdGggZmlsbD0iI0Q4REVFOSIgZD0iTTIwLjY4MyAyNS42NTVsNS44NzItMTMuNDhoLjU2Nmw1Ljg3MyAxMy40OGgtMS45OTZsLTQuMTU5LTEwLjA1Ni00LjE2MSAxMC4wNTZoLTEuOTk1em0tMi42OTYgMGwtMTMuNDgtNS44NzJ2LS41NjZsMTMuNDgtNS44NzJ2MS45OTVMNy45MzEgMTkuNWwxMC4wNTYgNC4xNnoiLz48L3N2Zz4%3D"/></a> <a href="https://github.com/arcticicestudio/styleguide-git/releases/latest" target="_blank"><img src="https://img.shields.io/github/release/arcticicestudio/styleguide-git.svg?style=flat-square&label=Git%20Style%20Guide&logoColor=eceff4&colorA=4c566a&colorB=88c0d0&logo=git"/></a></p>
|
||||
|
||||
<p align="center">An arctic, north-bluish clean and elegant <a href="https://www.vim.org">Vim</a> color theme.</p>
|
||||
|
||||
<p align="center">Designed for a fluent and clear workflow based on the <a href="https://www.nordtheme.com">Nord</a> color palette.</p>
|
||||
|
||||
<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/overview-go.png"/></a></p>
|
||||
|
||||
Build for Vim's terminal- and GUI mode with _true colors_ with support for many third-party syntax and UI plugins including bundled themes for [lightline.vim][gh-itchyny/lightline.vim] and [vim-airline][gh-vim-airline/vim-airline].
|
||||
|
||||
## Getting Started
|
||||
|
||||
Visit the [official website][nord-home] to learn all about the [syntax highlighting][nord-home#syntax] features, details and elements of [UI and editor elements][nord-home#editor-details], the [various theme configurations][nord-home#configurations] and the [support for many plugins][nord-home#plugin-support].
|
||||
|
||||
Learn about the [installation and activation][nord-docs-home-install], how to [configure][nord-docs-home-config] and [customize][nord-docs-home-custom] the theme from the [official documentations][nord-docs-home].
|
||||
|
||||
### Quick Start
|
||||
|
||||
Thanks to existing plugin/_runtimepath_ managers for Vim, Nord Vim can be installed for all platforms and the various variants/forks of Vim in a uniform way within a few lines of codes. The recommended manager is [vim-plug][gh-junegunn/vim-plug], but any other manager like [pathogen][gh-tpope/vim-pathogen] or [Vundle][gh-vundlevim/vundle.vim] can also be used.
|
||||
|
||||
To automatically download and activate Nord Vim, follow the install instructions for [vim-plug][gh-junegunn/vim-plug] and
|
||||
|
||||
1. add `Plug 'arcticicestudio/nord-vim'` to your [`vimrc`][vimhelp-vimrc] within _vim-plug_'s plugin loading function
|
||||
2. run the `:PlugInstall` command in Vim
|
||||
3. activate the theme by adding `colorscheme nord` to the [vimrc][vimhelp-vimrc] or change it on-the-fly by running `:colorscheme nord`
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/ports/vim/installation-vim-plug.png"/></p>
|
||||
|
||||
See the Nord Vim's documentation for [more installation options][nord-docs-home-install] and how to [set it up manually][nord-docs-home-install#manual].
|
||||
|
||||
## Features
|
||||
|
||||
<p align="center"><strong>A unified UI and editor syntax element design provides a clutter-free and fluidly merging appearance.</strong><br /><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/ports/vim/overview-go-nerdtree.png"/></p>
|
||||
|
||||
<p align="center"><strong>Small details with unobtrusive styles for popular and common code editor features like search result marker and brace matching — designed to get out of your way with a visually attractive appearance.</strong><br /><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/ports/vim/editor-search-highlighting.png"/></p>
|
||||
|
||||
<p align="center"><strong>Support for a wide range of programming languages — from bundled plugins up to many popular syntax and UI third-party plugins.</strong><br /><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/ports/vim/syntax-javascript-react-hook.png"/></p>
|
||||
|
||||
## Contributing
|
||||
|
||||
Nord is an open source project and we love to receive contributions from the [community][nord-comm]!
|
||||
|
||||
There are many ways to contribute, from [writing- and improving documentation and tutorials][nord-contrib-guide-docs], [reporting bugs][nord-contrib-guide-bugs], [submitting enhancement suggestions][nord-contrib-guide-enhance] that can be added to Nord by [submitting pull requests][nord-contrib-guide-pr].
|
||||
|
||||
Please take a moment to read Nord's full [contributing guide][nord-contrib-guide] to learn about the development process, the project's used [styleguides][nord-contrib-guide-styles], [branch organization][nord-contrib-guide-branching] and [versioning][nord-contrib-guide-versioning] model.
|
||||
|
||||
The guide also includes information about [minimal, complete, and verifiable examples][nord-contrib-guide-mcve] and other ways to contribute to the project like [improving existing issues][nord-contrib-guide-impr-issues] and [giving feedback on issues and pull requests][nord-contrib-guide-feedback].
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/nord/repository-footer-separator.svg?sanitize=true" /></p>
|
||||
|
||||
<p align="center">Copyright © 2016-present <a href="https://www.arcticicestudio.com" target="_blank">Arctic Ice Studio</a> and <a href="https://www.svengreb.de" target="_blank">Sven Greb</a></p>
|
||||
|
||||
<p align="center"><a href="https://github.com/arcticicestudio/nord-vim/blob/develop/LICENSE.md"><img src="https://img.shields.io/static/v1.svg?style=flat-square&label=License&message=MIT&logoColor=eceff4&logo=github&colorA=4c566a&colorB=88c0d0"/></a></p>
|
||||
|
||||
[gh-itchyny/lightline.vim]: https://github.com/itchyny/lightline.vim
|
||||
[gh-junegunn/vim-plug]: https://github.com/junegunn/vim-plug
|
||||
[gh-tpope/vim-pathogen]: https://github.com/tpope/vim-pathogen
|
||||
[gh-vim-airline/vim-airline]: https://github.com/vim-airline/vim-airline
|
||||
[gh-vundlevim/vundle.vim]: https://github.com/tpope/vim-pathogen
|
||||
[nord-comm]: https://www.nordtheme.com/community
|
||||
[nord-contrib-guide-branching]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#branch-organization
|
||||
[nord-contrib-guide-bugs]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#bug-reports
|
||||
[nord-contrib-guide-docs]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#documentations
|
||||
[nord-contrib-guide-enhance]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#enhancement-suggestions
|
||||
[nord-contrib-guide-feedback]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#give-feedback-on-issues-and-pull-requests
|
||||
[nord-contrib-guide-impr-issues]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#improve-issues
|
||||
[nord-contrib-guide-mcve]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#mcve
|
||||
[nord-contrib-guide-pr]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#pull-requests
|
||||
[nord-contrib-guide-styles]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#styleguides
|
||||
[nord-contrib-guide-versioning]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md#versioning
|
||||
[nord-contrib-guide]: https://github.com/arcticicestudio/nord/blob/develop/CONTRIBUTING.md
|
||||
[nord-docs-home-config]: https://www.nordtheme.com/docs/ports/vim/configuration
|
||||
[nord-docs-home-custom]: https://www.nordtheme.com/docs/ports/vim/customization
|
||||
[nord-docs-home-install]: https://www.nordtheme.com/docs/ports/vim/installation
|
||||
[nord-docs-home-install#manual]: https://www.nordtheme.com/docs/ports/vim/installation#manual
|
||||
[nord-docs-home]: https://www.nordtheme.com/docs/ports/vim
|
||||
[nord-home]: https://www.nordtheme.com/ports/vim
|
||||
[nord-home#configurations]: https://www.nordtheme.com/ports/vim#configurations
|
||||
[nord-home#editor-details]: https://www.nordtheme.com/ports/vim#editor-details
|
||||
[nord-home#plugin-support]: https://www.nordtheme.com/ports/vim#plugin-support
|
||||
[nord-home#syntax]: https://www.nordtheme.com/ports/vim#syntax
|
||||
[vimhelp-vimrc]: https://vimhelp.org/starting.txt.html#vimrc
|
||||
|
|
@ -1,11 +1,7 @@
|
|||
" Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
" Copyright (C) 2016-present Sven Greb <development@svengreb.de>
|
||||
" Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
" This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
" Project: Nord Vim
|
||||
" Repository: https://github.com/arcticicestudio/nord-vim
|
||||
" License: MIT
|
||||
|
||||
let s:nord_vim_version="0.14.0"
|
||||
let s:nord_vim_version="0.19.0"
|
||||
let g:airline#themes#nord#palette = {}
|
||||
|
||||
let s:nord0_gui = "#2E3440"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,7 @@
|
|||
" Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
" Copyright (C) 2016-present Sven Greb <development@svengreb.de>
|
||||
" Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
" This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
" Project: Nord Vim
|
||||
" Repository: https://github.com/arcticicestudio/nord-vim
|
||||
" License: MIT
|
||||
|
||||
let s:nord_vim_version="0.14.0"
|
||||
let s:nord_vim_version="0.19.0"
|
||||
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
||||
|
||||
let s:nord0 = ["#2E3440", "NONE"]
|
||||
|
|
|
|||
1254
changelog.md
Normal file
1254
changelog.md
Normal file
File diff suppressed because it is too large
Load diff
322
colors/nord.vim
322
colors/nord.vim
|
|
@ -1,9 +1,5 @@
|
|||
" Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
" Copyright (C) 2016-present Sven Greb <development@svengreb.de>
|
||||
|
||||
" Project: Nord Vim
|
||||
" Repository: https://github.com/arcticicestudio/nord-vim
|
||||
" License: MIT
|
||||
" Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
" This source code is licensed under the MIT license found in the license file.
|
||||
|
||||
if version > 580
|
||||
hi clear
|
||||
|
|
@ -13,7 +9,7 @@ if version > 580
|
|||
endif
|
||||
|
||||
let g:colors_name = "nord"
|
||||
let s:nord_vim_version="0.14.0"
|
||||
let s:nord_vim_version="0.19.0"
|
||||
set background=dark
|
||||
|
||||
let s:nord0_gui = "#2E3440"
|
||||
|
|
@ -72,87 +68,54 @@ let s:nord3_gui_brightened = [
|
|||
\ "#7b88a1",
|
||||
\ ]
|
||||
|
||||
if !exists("g:nord_bold")
|
||||
let g:nord_bold = 1
|
||||
endif
|
||||
let g:nord_bold = get(g:, "nord_bold", 1)
|
||||
let s:bold = (g:nord_bold == 0) ? "" : "bold,"
|
||||
|
||||
let s:bold = "bold,"
|
||||
if g:nord_bold == 0
|
||||
let s:bold = ""
|
||||
endif
|
||||
let g:nord_underline = get(g:, "nord_underline", 1)
|
||||
let s:underline = (g:nord_underline == 0) ? "NONE," : "underline,"
|
||||
|
||||
if !exists("g:nord_italic")
|
||||
if has("gui_running") || $TERM_ITALICS == "true"
|
||||
let g:nord_italic = 1
|
||||
else
|
||||
let g:nord_italic = 0
|
||||
endif
|
||||
endif
|
||||
let g:nord_italic = get(g:, "nord_italic", (has("gui_running") || $TERM_ITALICS == "true"))
|
||||
let s:italic = (g:nord_italic == 0) ? "" : "italic,"
|
||||
|
||||
let s:italic = "italic,"
|
||||
if g:nord_italic == 0
|
||||
let s:italic = ""
|
||||
endif
|
||||
let g:nord_italic_comments = get(g:, "nord_italic_comments", 0)
|
||||
let s:italicize_comments = (g:nord_italic_comments == 0) ? "" : get(s:, "italic")
|
||||
|
||||
let s:underline = "underline,"
|
||||
if ! get(g:, "nord_underline", 1)
|
||||
let s:underline = "NONE,"
|
||||
endif
|
||||
|
||||
let s:italicize_comments = ""
|
||||
if exists("g:nord_italic_comments")
|
||||
if g:nord_italic_comments == 1
|
||||
let s:italicize_comments = s:italic
|
||||
endif
|
||||
endif
|
||||
|
||||
if !exists('g:nord_uniform_status_lines')
|
||||
let g:nord_uniform_status_lines = 0
|
||||
endif
|
||||
|
||||
function! s:logWarning(msg)
|
||||
echohl WarningMsg
|
||||
echomsg 'nord: warning: ' . a:msg
|
||||
echohl None
|
||||
endfunction
|
||||
let g:nord_uniform_status_lines = get(g:, "nord_uniform_status_lines", 0)
|
||||
|
||||
let g:nord_bold_vertical_split_line = get(g:, "nord_bold_vertical_split_line", 0)
|
||||
if exists("g:nord_comment_brightness")
|
||||
call s:logWarning('Variable g:nord_comment_brightness has been deprecated and will be removed in version 1.0.0!' .
|
||||
echohl WarningMsg
|
||||
echomsg 'nord: warning: Variable g:nord_comment_brightness has been deprecated and will be removed in version 1.0.0!' .
|
||||
\' The comment color brightness has been increased by 10% by default.' .
|
||||
\' Please see https://github.com/arcticicestudio/nord-vim/issues/145 for more details.')
|
||||
\' Please see https://github.com/nordtheme/vim/issues/145 for more details.'
|
||||
echohl None
|
||||
let g:nord_comment_brightness = 10
|
||||
endif
|
||||
|
||||
if !exists("g:nord_uniform_diff_background")
|
||||
let g:nord_uniform_diff_background = 0
|
||||
endif
|
||||
|
||||
if !exists("g:nord_cursor_line_number_background")
|
||||
let g:nord_cursor_line_number_background = 0
|
||||
endif
|
||||
|
||||
if !exists("g:nord_bold_vertical_split_line")
|
||||
let g:nord_bold_vertical_split_line = 0
|
||||
endif
|
||||
let g:nord_cursor_line_number_background = get(g:, "nord_cursor_line_number_background", 0)
|
||||
let g:nord_uniform_diff_background = get(g:, "nord_uniform_diff_background", 0)
|
||||
|
||||
function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
|
||||
let cmd = ""
|
||||
if a:guifg != ""
|
||||
exec "hi " . a:group . " guifg=" . a:guifg
|
||||
let cmd = cmd . " guifg=" . a:guifg
|
||||
endif
|
||||
if a:guibg != ""
|
||||
exec "hi " . a:group . " guibg=" . a:guibg
|
||||
let cmd = cmd . " guibg=" . a:guibg
|
||||
endif
|
||||
if a:ctermfg != ""
|
||||
exec "hi " . a:group . " ctermfg=" . a:ctermfg
|
||||
let cmd = cmd . " ctermfg=" . a:ctermfg
|
||||
endif
|
||||
if a:ctermbg != ""
|
||||
exec "hi " . a:group . " ctermbg=" . a:ctermbg
|
||||
let cmd = cmd . " ctermbg=" . a:ctermbg
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . substitute(a:attr, "undercurl", s:underline, "")
|
||||
let cmd = cmd . " gui=" . a:attr . " cterm=" . substitute(a:attr, "undercurl", s:underline, "")
|
||||
endif
|
||||
if a:guisp != ""
|
||||
exec "hi " . a:group . " guisp=" . a:guisp
|
||||
let cmd = cmd . " guisp=" . a:guisp
|
||||
endif
|
||||
if cmd != ""
|
||||
exec "hi " . a:group . cmd
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
|
@ -174,9 +137,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)
|
||||
|
|
@ -185,19 +148,14 @@ call s:hi("SpellLocal", s:nord5_gui, s:nord0_gui, s:nord5_term, "NONE", "undercu
|
|||
call s:hi("SpellRare", s:nord6_gui, s:nord0_gui, s:nord6_term, "NONE", "undercurl", s:nord6_gui)
|
||||
call s:hi("Visual", "", s:nord2_gui, "", s:nord1_term, "", "")
|
||||
call s:hi("VisualNOS", "", s:nord2_gui, "", s:nord1_term, "", "")
|
||||
"+- Neovim Support -+
|
||||
call s:hi("healthError", s:nord11_gui, s:nord1_gui, s:nord11_term, s:nord1_term, "", "")
|
||||
call s:hi("healthSuccess", s:nord14_gui, s:nord1_gui, s:nord14_term, s:nord1_term, "", "")
|
||||
call s:hi("healthWarning", s:nord13_gui, s:nord1_gui, s:nord13_term, s:nord1_term, "", "")
|
||||
call s:hi("TermCursorNC", "", s:nord1_gui, "", s:nord1_term, "", "")
|
||||
|
||||
"+- Vim 8 Terminal Colors -+
|
||||
if has('terminal')
|
||||
let g:terminal_ansi_colors = [s:nord1_gui, s:nord11_gui, s:nord14_gui, s:nord13_gui, s:nord9_gui, s:nord15_gui, s:nord8_gui, s:nord5_gui, s:nord3_gui, s:nord11_gui, s:nord14_gui, s:nord13_gui, s:nord9_gui, s:nord15_gui, s:nord7_gui, s:nord6_gui]
|
||||
endif
|
||||
|
||||
"+- Neovim Terminal Colors -+
|
||||
if has('nvim')
|
||||
"+- Neovim Terminal Colors -+
|
||||
let g:terminal_color_0 = s:nord1_gui
|
||||
let g:terminal_color_1 = s:nord11_gui
|
||||
let g:terminal_color_2 = s:nord14_gui
|
||||
|
|
@ -214,6 +172,30 @@ if has('nvim')
|
|||
let g:terminal_color_13 = s:nord15_gui
|
||||
let g:terminal_color_14 = s:nord7_gui
|
||||
let g:terminal_color_15 = s:nord6_gui
|
||||
|
||||
"+- Neovim Support -+
|
||||
call s:hi("healthError", s:nord11_gui, s:nord1_gui, s:nord11_term, s:nord1_term, "", "")
|
||||
call s:hi("healthSuccess", s:nord14_gui, s:nord1_gui, s:nord14_term, s:nord1_term, "", "")
|
||||
call s:hi("healthWarning", s:nord13_gui, s:nord1_gui, s:nord13_term, s:nord1_term, "", "")
|
||||
call s:hi("TermCursorNC", "", s:nord1_gui, "", s:nord1_term, "", "")
|
||||
|
||||
"+- 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", "")
|
||||
|
||||
"+- 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, "", "")
|
||||
|
||||
"+- Neovim LspSignatureHelp -+
|
||||
call s:hi("LspSignatureActiveParameter", s:nord8_gui, "", s:nord8_term, "", s:underline, "")
|
||||
endif
|
||||
|
||||
"+--- Gutter ---+
|
||||
|
|
@ -274,8 +256,10 @@ 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("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, "", "", "")
|
||||
|
|
@ -300,8 +284,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 +
|
||||
|
|
@ -347,6 +333,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, "", "", "")
|
||||
|
||||
|
|
@ -395,11 +382,19 @@ hi! link diffAdded DiffAdd
|
|||
hi! link diffChanged DiffChange
|
||||
hi! link diffRemoved DiffDelete
|
||||
|
||||
call s:hi("elixirModuleDeclaration", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
call s:hi("elixirAlias", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
call s:hi("elixirAtom", s:nord6_gui, "", s:nord6_term, "", s:bold, "")
|
||||
|
||||
call s:hi("gitconfigVariable", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
|
||||
call s:hi("goBuiltins", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
hi! link goConstants Keyword
|
||||
|
||||
" fatih/vim-go
|
||||
call s:hi("gomodVersion", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
call s:hi("gomodGoVersion", s:nord8_gui, "", s:nord8_term, "", "", "")
|
||||
|
||||
call s:hi("helpBar", s:nord3_gui, "", s:nord3_term, "", "", "")
|
||||
call s:hi("helpHyperTextJump", s:nord8_gui, "", s:nord8_term, "", s:underline, "")
|
||||
|
||||
|
|
@ -560,25 +555,33 @@ call s:hi("ALEWarning" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "")
|
|||
call s:hi("ALEError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "")
|
||||
|
||||
" Coc
|
||||
" > neoclide/coc
|
||||
" > neoclide/coc.vim
|
||||
call s:hi("CocWarningHighlight" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "")
|
||||
call s:hi("CocErrorHighlight" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "")
|
||||
call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
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, "", "", "")
|
||||
|
||||
" Coc
|
||||
" > neoclide/coc
|
||||
call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
if has('nvim')
|
||||
" Neovim LSP
|
||||
" > neovim/nvim-lspconfig
|
||||
call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", "", "")
|
||||
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
|
||||
|
||||
" 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, "", "", "")
|
||||
" Gitsigns
|
||||
" > lewis6991/gitsigns.nvim
|
||||
hi! link GitSignsCurrentLineBlame Comment
|
||||
endif
|
||||
|
||||
" GitGutter
|
||||
" > airblade/vim-gitgutter
|
||||
|
|
@ -594,6 +597,10 @@ call s:hi("SignifySignChange", s:nord13_gui, "", s:nord13_term, "", "", "")
|
|||
call s:hi("SignifySignChangeDelete", s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
call s:hi("SignifySignDelete", s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
|
||||
" Sneak
|
||||
" > justinmk/vim-sneak
|
||||
hi! link Sneak Search
|
||||
|
||||
" fugitive.vim
|
||||
" > tpope/vim-fugitive
|
||||
call s:hi("gitcommitDiscardedFile", s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
|
|
@ -615,6 +622,39 @@ hi! link NERDTreeHelp Comment
|
|||
hi! link CtrlPMatch Keyword
|
||||
hi! link CtrlPBufferHid Normal
|
||||
|
||||
" vim-clap
|
||||
" > liuchengxu/vim-clap
|
||||
call s:hi("ClapDir", s:nord4_gui, "", "", "", "", "")
|
||||
call s:hi("ClapDisplay", s:nord4_gui, s:nord1_gui, "", s:nord1_term, "", "")
|
||||
call s:hi("ClapFile", s:nord4_gui, "", "", "NONE", "", "")
|
||||
call s:hi("ClapMatches", s:nord8_gui, "", s:nord8_term, "", "", "")
|
||||
call s:hi("ClapNoMatchesFound", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
call s:hi("ClapSelected", s:nord7_gui, "", s:nord7_term, "", s:bold, "")
|
||||
call s:hi("ClapSelectedSign", s:nord9_gui, "", s:nord9_term, "", "", "")
|
||||
let s:clap_matches = [
|
||||
\ [s:nord8_gui, s:nord8_term] ,
|
||||
\ [s:nord9_gui, s:nord9_term] ,
|
||||
\ [s:nord10_gui, s:nord10_term] ,
|
||||
\ ]
|
||||
for s:nord_clap_match_i in range(1,12)
|
||||
let clap_match_color = s:clap_matches[s:nord_clap_match_i % len(s:clap_matches) - 1]
|
||||
call s:hi("ClapMatches" . s:nord_clap_match_i, clap_match_color[0], "", clap_match_color[1], "", "", "")
|
||||
call s:hi("ClapFuzzyMatches" . s:nord_clap_match_i, clap_match_color[0], "", clap_match_color[1], "", "", "")
|
||||
endfor
|
||||
unlet s:nord_clap_match_i
|
||||
hi! link ClapCurrentSelection PmenuSel
|
||||
hi! link ClapCurrentSelectionSign ClapSelectedSign
|
||||
hi! link ClapInput Pmenu
|
||||
hi! link ClapPreview Pmenu
|
||||
hi! link ClapProviderAbout ClapDisplay
|
||||
hi! link ClapProviderColon Type
|
||||
hi! link ClapProviderId Type
|
||||
|
||||
" vim-indent-guides
|
||||
" > nathanaelkane/vim-indent-guides
|
||||
call s:hi("IndentGuidesEven", "", s:nord1_gui, "", s:nord1_term, "", "")
|
||||
call s:hi("IndentGuidesOdd", "", s:nord2_gui, "", s:nord3_term, "", "")
|
||||
|
||||
" vim-plug
|
||||
" > junegunn/vim-plug
|
||||
call s:hi("plugDeleted", s:nord11_gui, "", "", s:nord11_term, "", "")
|
||||
|
|
@ -652,6 +692,90 @@ 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
|
||||
|
||||
if has('nvim')
|
||||
" tree-sitter
|
||||
" > nvim-treesitter/nvim-treesitter
|
||||
hi! link TSAnnotation Annotation
|
||||
hi! link TSConstBuiltin Constant
|
||||
hi! link TSConstructor Function
|
||||
hi! link TSEmphasis Italic
|
||||
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, "")
|
||||
call s:hi("typescriptClassName", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
call s:hi("typescriptDecorator", s:nord12_gui, "", s:nord12_term, "", "", "")
|
||||
call s:hi("typescriptInterfaceName", s:nord7_gui, "", s:nord7_term, "", s:bold, "")
|
||||
call s:hi("typescriptRegexpString", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
" TypeScript JSX
|
||||
call s:hi("tsxAttrib", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
hi! link typescriptOperator Operator
|
||||
hi! link typescriptBinaryOp Operator
|
||||
hi! link typescriptAssign Operator
|
||||
hi! link typescriptMember Identifier
|
||||
hi! link typescriptDOMStorageMethod Identifier
|
||||
hi! link typescriptArrowFuncArg Identifier
|
||||
hi! link typescriptGlobal typescriptClassName
|
||||
hi! link typescriptBOMWindowProp Function
|
||||
hi! link typescriptArrowFuncDef Function
|
||||
hi! link typescriptAliasDeclaration Function
|
||||
hi! link typescriptPredefinedType Type
|
||||
hi! link typescriptTypeReference typescriptClassName
|
||||
hi! link typescriptTypeAnnotation Structure
|
||||
hi! link typescriptDocNamedParamType SpecialComment
|
||||
hi! link typescriptDocNotation Keyword
|
||||
hi! link typescriptDocTags Keyword
|
||||
hi! link typescriptImport Keyword
|
||||
hi! link typescriptExport Keyword
|
||||
hi! link typescriptTry Keyword
|
||||
hi! link typescriptVariable Keyword
|
||||
hi! link typescriptBraces Normal
|
||||
hi! link typescriptObjectLabel Normal
|
||||
hi! link typescriptCall Normal
|
||||
hi! link typescriptClassHeritage typescriptClassName
|
||||
hi! link typescriptFuncTypeArrow Structure
|
||||
hi! link typescriptMemberOptionality Structure
|
||||
hi! link typescriptNodeGlobal typescriptGlobal
|
||||
hi! link typescriptTypeBrackets Structure
|
||||
hi! link tsxEqual Operator
|
||||
hi! link tsxIntrinsicTagName htmlTag
|
||||
hi! link tsxTagName tsxIntrinsicTagName
|
||||
|
||||
" Markdown
|
||||
" > plasticboy/vim-markdown
|
||||
call s:hi("mkdCode", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
|
|
@ -676,6 +800,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
|
||||
|
|
@ -689,7 +822,6 @@ else
|
|||
call s:hi("VimwikiHeader".s:i, s:vimwiki_hcolor_guifg[s:i-1] , "", s:vimwiki_hcolor_ctermfg[s:i-1], "", s:bold, "")
|
||||
endfor
|
||||
endif
|
||||
|
||||
call s:hi("VimwikiLink", s:nord8_gui, "", s:nord8_term, "", s:underline, "")
|
||||
hi! link VimwikiHeaderChar markdownHeadingDelimiter
|
||||
hi! link VimwikiHR Keyword
|
||||
|
|
@ -698,3 +830,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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
MIT License (MIT)
|
||||
|
||||
Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com> (https://www.arcticicestudio.com)
|
||||
Copyright (C) 2016-present Sven Greb <development@svengreb.de> (https://www.svengreb.de)
|
||||
Copyright (c) 2016-present Sven Greb <development@svengreb.de> (https://www.svengreb.de)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
15
lint-staged.config.js
Normal file
15
lint-staged.config.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
* This source code is licensed under the MIT license found in the license file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Configurations for lint-staged.
|
||||
* @see https://github.com/okonet/lint-staged#configuration
|
||||
*/
|
||||
module.exports = {
|
||||
"*.json": "prettier --check --ignore-unknown --no-editorconfig",
|
||||
"*.{js,mjs}": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"],
|
||||
"*.md": ["remark --no-stdout", "prettier --check --ignore-unknown --no-editorconfig"],
|
||||
".husky/pre-*": "prettier --check --ignore-unknown --no-editorconfig",
|
||||
};
|
||||
7354
package-lock.json
generated
Normal file
7354
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
51
package.json
Normal file
51
package.json
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"name": "@nordtheme/vim",
|
||||
"version": "0.19.0",
|
||||
"description": "An arctic, north-bluish clean and elegant Vim theme",
|
||||
"author": {
|
||||
"name": "Sven Greb",
|
||||
"email": "development@svengreb.de",
|
||||
"url": "https://www.svengreb.de"
|
||||
},
|
||||
"homepage": "https://www.nordtheme.com/ports/vim",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/nordtheme/vim.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/nordtheme/vim/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=15.13",
|
||||
"npm": ">=7.7"
|
||||
},
|
||||
"scripts": {
|
||||
"format": "run-s format:*",
|
||||
"format:js": "eslint --fix .",
|
||||
"format:pretty": "prettier --ignore-unknown --no-editorconfig --write \"**\"",
|
||||
"lint": "run-s lint:js lint:md lint:pretty",
|
||||
"lint:ci": "run-s --continue-on-error lint:js lint:md lint:ci:pretty",
|
||||
"lint:ci:pretty": "prettier --check --ignore-unknown --loglevel silent --no-editorconfig --no-error-on-unmatched-pattern \"**\"",
|
||||
"lint:js": "eslint .",
|
||||
"lint:md": "remark --no-stdout . .github/",
|
||||
"lint:pretty": "prettier --check --ignore-unknown --no-editorconfig \"**\"",
|
||||
"prepare:husky": "husky install",
|
||||
"prepare": "run-s prepare:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@svengreb/eslint-config-base": ">=0.12.0 <=1.0.0",
|
||||
"@svengreb/remark-preset-lint": ">=0.5.0 <1.0.0",
|
||||
"eslint": "8.39.0",
|
||||
"eslint-config-prettier": "8.8.0",
|
||||
"eslint-plugin-import": "2.27.5",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"husky": "8.0.3",
|
||||
"lint-staged": "13.2.2",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.8.8",
|
||||
"prettier-plugin-sh": "0.12.8",
|
||||
"remark-cli": "11.0.0"
|
||||
}
|
||||
}
|
||||
24
prettier.config.js
Normal file
24
prettier.config.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
* This source code is licensed under the MIT license found in the license file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Configurations for Prettier.
|
||||
* @see https://prettier.io/docs/en/configuration.html
|
||||
* @see https://prettier.io/docs/en/options.html
|
||||
* @see https://prettier.io/docs/en/options.html#parser
|
||||
* @see https://prettier.io/docs/en/plugins.html
|
||||
* @see https://github.com/un-ts/prettier/tree/master/packages/sh
|
||||
*/
|
||||
module.exports = {
|
||||
printWidth: 160,
|
||||
overrides: [
|
||||
{
|
||||
files: [".husky/*"],
|
||||
options: {
|
||||
parser: "sh",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
152
readme.md
Normal file
152
readme.md
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<p align="center">
|
||||
<a href="https://www.nordtheme.com/ports/vim" target="_blank">
|
||||
<picture>
|
||||
<source srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/repository-hero.svg?sanitize=true" width="100%" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/repository-hero.svg?sanitize=true" width="100%" />
|
||||
</picture>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/nordtheme/vim/releases/latest" target="_blank">
|
||||
<img src="https://img.shields.io/github/release/nordtheme/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">
|
||||
<img src="https://img.shields.io/github/release/nordtheme/vim.svg?style=flat-square&label=Docs&colorA=4c566a&colorB=88c0d0&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI%2BCiAgICA8cGF0aCBmaWxsPSIjZDhkZWU5IiBkPSJNMTMuNzQ2IDIuODEzYS42Ny42NyAwIDAgMC0uNTU5LS4xMzNMOCAzLjg0OGwtNS4xODgtMS4xOGEuNjY5LjY2OSAwIDAgMC0uNTcuMTMzLjY3Ny42NzcgMCAwIDAtLjI0Mi41MzF2OC4xMzNjLS4wMDguMzIuMjEuNTk4LjUyLjY2OGw1LjMzMiAxLjE5OWguMjk2bDUuMzMyLTEuMmEuNjY4LjY2OCAwIDAgMCAuNTItLjY2N1YzLjMzMmEuNjU5LjY1OSAwIDAgMC0uMjU0LS41MnpNMy4zMzIgNC4xNjhsNCAuODk4djYuNzY2bC00LS44OTh6bTkuMzM2IDYuNzY2bC00IC44OThWNS4wNjZsNC0uODk4em0wIDAiLz4KPC9zdmc%2BCg%3D%3D"/>
|
||||
</a>
|
||||
<a href="https://github.com/nordtheme/vim/blob/main/changelog.md#050" target="_blank">
|
||||
<img src="https://img.shields.io/github/release/nordtheme/vim.svg?style=flat-square&label=Changelog&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/svengreb/styleguide-javascript/releases/latest" target="_blank">
|
||||
<img src="https://img.shields.io/github/release/svengreb/styleguide-javascript.svg?style=flat-square&label=JavaScript%20Style%20Guide&logoColor=eceff4&colorA=4c566a&colorB=88c0d0&logo=javascript"/>
|
||||
</a>
|
||||
<a href="https://github.com/svengreb/styleguide-markdown/releases/latest" target="_blank">
|
||||
<img src="https://img.shields.io/github/release/svengreb/styleguide-markdown.svg?style=flat-square&label=Markdown%20Style%20Guide&colorA=4c566a&colorB=88c0d0&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOSIgaGVpZ2h0PSIzOSIgdmlld0JveD0iMCAwIDM5IDM5Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNEOERFRTkiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMS41IDEuNWgzNnYzNmgtMzZ6Ii8%2BPHBhdGggZmlsbD0iI0Q4REVFOSIgZD0iTTIwLjY4MyAyNS42NTVsNS44NzItMTMuNDhoLjU2Nmw1Ljg3MyAxMy40OGgtMS45OTZsLTQuMTU5LTEwLjA1Ni00LjE2MSAxMC4wNTZoLTEuOTk1em0tMi42OTYgMGwtMTMuNDgtNS44NzJ2LS41NjZsMTMuNDgtNS44NzJ2MS45OTVMNy45MzEgMTkuNWwxMC4wNTYgNC4xNnoiLz48L3N2Zz4%3D"/>
|
||||
</a>
|
||||
<a href="https://github.com/svengreb/styleguide-git/releases/latest" target="_blank">
|
||||
<img src="https://img.shields.io/github/release/svengreb/styleguide-git.svg?style=flat-square&label=Git%20Style%20Guide&logoColor=eceff4&colorA=4c566a&colorB=88c0d0&logo=git"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">An arctic, north-bluish clean and elegant <a href="https://www.vim.org">Vim</a> color theme.</p>
|
||||
|
||||
<p align="center">Designed for a fluent and clear workflow based on the <a href="https://www.nordtheme.com">Nord</a> color palette.</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.nordtheme.com/ports/vim" target="_blank">
|
||||
<picture>
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/overview-go.png"/>
|
||||
</picture>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Build for Vim's terminal- and GUI mode with _true colors_ with support for many third-party syntax and UI plugins including bundled themes for [lightline.vim][1] and [vim-airline][4].
|
||||
|
||||
## Getting Started
|
||||
|
||||
Visit the [official website][23] to learn all about the [syntax highlighting][27] features, details and elements of [UI and editor elements][25], the [various theme configurations][24] and the [support for many plugins][26].
|
||||
|
||||
Learn about the [installation and activation][20], how to [configure][18] and [customize][19] the theme from the [official documentations][22].
|
||||
|
||||
### Quick Start
|
||||
|
||||
Thanks to existing plugin/_runtimepath_ managers for Vim, Nord Vim can be installed for all platforms and the various variants/forks of Vim in a uniform way within a few lines of codes. The recommended manager is [vim-plug][2], but any other manager like [pathogen][3] or [Vundle][3] can also be used.
|
||||
|
||||
To automatically download and activate Nord Vim, follow the install instructions for [vim-plug][2] and
|
||||
|
||||
1. add `Plug 'nordtheme/vim'` to your [`vimrc`][28] within _vim-plug_'s plugin loading function
|
||||
2. run the `:PlugInstall` command in Vim
|
||||
3. activate the theme by adding `colorscheme nord` to the [vimrc][28] or change it on-the-fly by running `:colorscheme nord`
|
||||
|
||||
<p align="center">
|
||||
<picture>
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/installation-vim-plug.png"/>
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
See the Nord Vim's documentation for [more installation options][20] and how to [set it up manually][21].
|
||||
|
||||
## Features
|
||||
|
||||
<p align="center">
|
||||
<strong>A unified UI and editor syntax element design provides a clutter-free and fluidly merging appearance.</strong><br />
|
||||
<picture>
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/overview-go-nerdtree.png"/>
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<strong>Small details with unobtrusive styles for popular and common code editor features like search result marker and brace matching — designed to get out of your way with a visually attractive appearance.</strong><br />
|
||||
<picture>
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/editor-search-highlighting.png"/>
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<strong>Support for a wide range of programming languages — from bundled plugins up to many popular syntax and UI third-party plugins.</strong><br />
|
||||
<picture>
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/vim/syntax-javascript-react-hook.png"/>
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
## Contributing
|
||||
|
||||
Nord is an open source project and we love to receive contributions from the [community][6]!
|
||||
|
||||
There are many ways to contribute, from [writing- and improving documentation and tutorials][9], [reporting bugs][8], [submitting enhancement suggestions][10] that can be added to Nord by [submitting pull requests][14].
|
||||
|
||||
Please take a moment to read Nord's full [contributing guide][17] to learn about the development process, the project's used [styleguides][15], [branch organization][7] and [versioning][16] model.
|
||||
|
||||
The guide also includes information about [minimal, complete, and verifiable examples][13] and other ways to contribute to the project like [improving existing issues][12] and [giving feedback on issues and pull requests][11].
|
||||
|
||||
<p align="center">
|
||||
<picture>
|
||||
<source srcset="https://raw.githubusercontent.com/nordtheme/assets/main/static/images/elements/separators/iceberg/footer/dark/spaced.svg?sanitize=true" width="100%" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
||||
<source srcset="https://raw.githubusercontent.com/nordtheme/assets/main/static/images/elements/separators/iceberg/footer/light/spaced.svg?sanitize=true" width="100%" media="(prefers-color-scheme: dark)" />
|
||||
<img src="https://raw.githubusercontent.com/nordtheme/assets/main/static/images/elements/separators/iceberg/footer/dark/spaced.svg?sanitize=true" width="100%" />
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
Copyright © 2016-present <a href="https://www.svengreb.de" target="_blank">Sven Greb</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/nordtheme/vim/blob/main/license" target="_blank">
|
||||
<img src="https://img.shields.io/static/v1.svg?style=flat-square&label=License&message=MIT&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"/>
|
||||
</a>
|
||||
<a href="https://www.svengreb.de">
|
||||
<img src="https://img.shields.io/static/v1.svg?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAABMklEQVQ4jcWQvUoDQRRGz52s5IfVIiDWPkGKFFaCIVaGdIagjcFAwICFb7DvIK6QQlNpY2UQLMQVBbEQ0SewFkGbKCQmOzaTJay7/lR+zTAf9xwuF/47Mv45rdezqWEq72v/RWZnHgqOMwDwHMfSj085JSqb6Pu38we7r18E3nqzhmYbsE11rxKsAvhDfQiSM30XYbOw57YDwfnaRl6U3ABWaMNn806H+oGPzBX3d+4UgChZiYBHYBgGsBLoKoAyhR0x9G20Zmpc4P1ZoMQDcwMNclFrdhBKv6M5WWi7ZQGtjEUn35IV4OwnVjSX/WGmKqCDDUa5rmyle3bvGFiMg3WGUsF1u0EXHoqTRMGRgkAy2eugKZrqijRLYThWANBpNDL2h3UE0J0YLJdbrfe42f/NJ0wqY7/KcXKPAAAAAElFTkSuQmCC&label=lovely%20crafted%20in&message=Germany&colorA=4c566a&colorB=88c0d0"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
[1]: https://github.com/itchyny/lightline.vim
|
||||
[2]: https://github.com/junegunn/vim-plug
|
||||
[3]: https://github.com/tpope/vim-pathogen
|
||||
[4]: https://github.com/vim-airline/vim-airline
|
||||
[6]: https://www.nordtheme.com/community
|
||||
[7]: https://github.com/nordtheme/.github/blob/main/contributing.md#branch-organization
|
||||
[8]: https://github.com/nordtheme/.github/blob/main/contributing.md#bug-reports
|
||||
[9]: https://github.com/nordtheme/.github/blob/main/contributing.md#documentations
|
||||
[10]: https://github.com/nordtheme/.github/blob/main/contributing.md#enhancement-suggestions
|
||||
[11]: https://github.com/nordtheme/.github/blob/main/contributing.md#feedback
|
||||
[12]: https://github.com/nordtheme/.github/blob/main/contributing.md#improve-issues
|
||||
[13]: https://github.com/nordtheme/.github/blob/main/contributing.md#mcve
|
||||
[14]: https://github.com/nordtheme/.github/blob/main/contributing.md#pull-requests
|
||||
[15]: https://github.com/nordtheme/.github/blob/main/contributing.md#style-guides
|
||||
[16]: https://github.com/nordtheme/.github/blob/main/contributing.md#versioning
|
||||
[17]: https://github.com/nordtheme/.github/blob/main/contributing.md
|
||||
[18]: https://www.nordtheme.com/docs/ports/vim/configuration
|
||||
[19]: https://www.nordtheme.com/docs/ports/vim/customization
|
||||
[20]: https://www.nordtheme.com/docs/ports/vim/installation
|
||||
[21]: https://www.nordtheme.com/docs/ports/vim/installation#manual
|
||||
[22]: https://www.nordtheme.com/docs/ports/vim
|
||||
[23]: https://www.nordtheme.com/ports/vim
|
||||
[24]: https://www.nordtheme.com/ports/vim#configurations
|
||||
[25]: https://www.nordtheme.com/ports/vim#editor-details
|
||||
[26]: https://www.nordtheme.com/ports/vim#plugin-support
|
||||
[27]: https://www.nordtheme.com/ports/vim#syntax
|
||||
[28]: https://vimhelp.org/starting.txt.html#vimrc
|
||||
Loading…
Reference in a new issue