MA
mattmorgis/nord.nvim
An arctic, north-bluish clean and elegant Neovim theme.
๐๏ธ nord.nvim
Neovim theme using the Nord palette that tries to
be as close as possible to the official vim theme
and the official vscode theme.
"Arctic, north-bluish clean and elegant" - arcticicestudio
โจ Features
- supports TreeSitter and LSP
- vim terminal colors
- lualine theme
Plugin Support
- TreeSitter
- LSP Diagnostics
- LSP Trouble
- Git Graph
- Git Signs
- Git Gutter
- Telescope
- NvimTree
- NeoTree
- WhichKey
- Lualine
- Leap
- Barbar
- Bufferline
- Cmp
- Navic
- Aerial
- Notify
- RainbowDelimiter
- Neogit
- highlight-undo.nvim
- Illuminate
- Codeium
- Flash.nvim
- Glance
- Markview
- Toggleterm
- Blink.cmp
- fzf-lua
Your preferred plugin is missing ? Open an issue or, even better, open a pull
request ๐.
โก๏ธ Requirements
- Neovim >= 0.8.0
๐ฆ Installation
Install the theme with your preferred package manager:
require("lazy").setup({
{
"gbprod/nord.nvim",
lazy = false,
priority = 1000,
config = function()
require("nord").setup({})
vim.cmd.colorscheme("nord")
end,
},
install = {
colorscheme = { "nord" },
},
});๐ Usage
Enable the colorscheme:
" Vim Script
colorscheme nord-- Lua
vim.cmd.colorscheme("nord")โ๏ธ Configuration
โ๏ธ configuration needs to be set BEFORE loading the color scheme with
colorscheme nord
Nord.nvim will use the default options, unless you call setup.
require("nord").setup({
-- your configuration comes here
-- or leave it empty to use the default settings
transparent = false, -- Enable this to disable setting the background color
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
diff = { mode = "bg" }, -- enables/disables colorful backgrounds when used in diff mode. values : [bg|fg]
borders = true, -- Enable the border between verticaly split windows visible
errors = { mode = "bg" }, -- Display mode for errors and diagnostics
-- values : [bg|fg|none]
search = { theme = "vim" }, -- theme for highlighting search results
-- values : [vim|vscode]
styles = {
-- Style to be applied to different syntax groups
-- Value is any valid attr-list value for `:help nvim_set_hl`
comments = { italic = true },
keywords = {},
functions = {},
variables = {},
-- To customize lualine/bufferline
bufferline = {
current = {},
modified = { italic = true },
},
lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold
},
-- colorblind mode
-- see https://github.com/EdenEast/nightfox.nvim#colorblind
-- simulation mode has not been implemented yet.
colorblind = {
enable = false,
preserve_background = false,
severity = {
protan = 0.0,
deutan = 0.0,
tritan = 0.0,
},
},
-- Override the default colors
---@param colors Nord.Palette
on_colors = function(colors) end,
--- You can override specific highlights to use other groups or a hex color
--- function will be called with all highlights and the colorScheme table
---@param colors Nord.Palette
on_highlights = function(highlights, colors) end,
})๐ค Integrations
nvim-lualine/lualine.nvim
To enable the `nord` theme for `Lualine`, simply specify it in your lualine settings:require('lualine').setup {
options = {
-- ... your lualine config
theme = 'nord'
-- ... your lualine config
}
}dnlhc/glance.nvim
Nord provide default options for `glance.nvim` to have a better integration:require("lazy").setup({
{
"dnlhc/glance.nvim",
opts = require("nord.plugins.glance").make_opts({
folds = {
folded = false,
},
}),
}
}
)akinsho/bufferline.nvim
To use this theme for `bufferline`, add this to your config:require("bufferline").setup({
options = {
separator_style = "thin",
},
highlights = require("nord.plugins.bufferline").akinsho(),
})akinsho/toggleterm.nvim
Nord provide default options for `toggleterm.nvim` to have a better integration:require("toggleterm").setup(
require("nord.plugins.toggleterm").make_opts({
-- your custom options
})
)๐ Credits
- shaunsingh/nord.nvim: pretty good
Nord theme for Neovim but too far from original and requires too much
customisation for me. - arcticicestudio/nord-visual-studio-code: For color picking
- arcticicestudio/nord-vim: For
his years of good and loyal service. - folke/tokyonight.nvim: For a lot
of code inspiration. - EdenEast/nightfox.nvim: For daltonization algorithm



