diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index edb3e7b3..465bf5c9 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -62,8 +62,10 @@ [tomasguinzburg](https://github.com/tomasguinzburg): [solargraph]: https://github.com/castwide/solargraph +[gbprod/nord.nvim]: https://github.com/gbprod/nord.nvim - Add Ruby support under `vim.languages.ruby` using [solargraph]. +- Add `nord` theme from [gbprod/nord.nvim]. [thamenato](https://github.com/thamenato): diff --git a/flake.lock b/flake.lock index da38b967..918b0ce1 100644 --- a/flake.lock +++ b/flake.lock @@ -1097,6 +1097,22 @@ "type": "github" } }, + "plugin-nord": { + "flake": false, + "locked": { + "lastModified": 1737019140, + "narHash": "sha256-ZhDS7Y90DKp+jkUqcoQRf/zHy4DVgSDQXrnl3sBYJXs=", + "owner": "gbprod", + "repo": "nord.nvim", + "rev": "b0f3ed242fd8e5bafa7231367821d46c6c835dd8", + "type": "github" + }, + "original": { + "owner": "gbprod", + "repo": "nord.nvim", + "type": "github" + } + }, "plugin-nui-nvim": { "flake": false, "locked": { @@ -2142,6 +2158,7 @@ "plugin-new-file-template-nvim": "plugin-new-file-template-nvim", "plugin-noice-nvim": "plugin-noice-nvim", "plugin-none-ls": "plugin-none-ls", + "plugin-nord": "plugin-nord", "plugin-nui-nvim": "plugin-nui-nvim", "plugin-nvim-autopairs": "plugin-nvim-autopairs", "plugin-nvim-bufferline-lua": "plugin-nvim-bufferline-lua", diff --git a/flake.nix b/flake.nix index 89690cad..02ceb667 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ self, ... } @ inputs: let - # call the extedended library with `inputs` + # call the extended library with `inputs` # inputs is used to get the original standard library, and to pass inputs to the plugin autodiscovery function lib = import ./lib/stdlib-extended.nix inputs; in @@ -419,6 +419,11 @@ flake = false; }; + plugin-nord = { + url = "github:gbprod/nord.nvim"; + flake = false; + }; + # Rust crates plugin-crates-nvim = { url = "github:Saecki/crates.nvim"; diff --git a/modules/plugins/statusline/lualine/supported_themes.nix b/modules/plugins/statusline/lualine/supported_themes.nix index b00fe82b..3528b24f 100644 --- a/modules/plugins/statusline/lualine/supported_themes.nix +++ b/modules/plugins/statusline/lualine/supported_themes.nix @@ -4,4 +4,5 @@ "catppuccin" "oxocarbon" "gruvbox" + "nord" ] diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index e185eb0d..cf72024a 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -177,4 +177,14 @@ in { ''; styles = ["main" "moon" "dawn"]; }; + nord = { + setup = {transparent ? false, ...}: '' + require("nord").setup({ + transparent = ${boolToString transparent}, + search = "vscode", -- [vim|vscode] + }) + + vim.cmd.colorscheme("nord") + ''; + }; }