feat: add nord theme

added nord theme from github.com/gbprod/nord.nvim
fixed a typo
This commit is contained in:
tomasguinzburg 2025-01-17 09:54:51 +01:00
parent 45a6d9b890
commit ae3340f2d1
5 changed files with 36 additions and 1 deletions

View file

@ -62,8 +62,10 @@
[tomasguinzburg](https://github.com/tomasguinzburg): [tomasguinzburg](https://github.com/tomasguinzburg):
[solargraph]: https://github.com/castwide/solargraph [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 Ruby support under `vim.languages.ruby` using [solargraph].
- Add `nord` theme from [gbprod/nord.nvim].
[thamenato](https://github.com/thamenato): [thamenato](https://github.com/thamenato):

View file

@ -1097,6 +1097,22 @@
"type": "github" "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": { "plugin-nui-nvim": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -2142,6 +2158,7 @@
"plugin-new-file-template-nvim": "plugin-new-file-template-nvim", "plugin-new-file-template-nvim": "plugin-new-file-template-nvim",
"plugin-noice-nvim": "plugin-noice-nvim", "plugin-noice-nvim": "plugin-noice-nvim",
"plugin-none-ls": "plugin-none-ls", "plugin-none-ls": "plugin-none-ls",
"plugin-nord": "plugin-nord",
"plugin-nui-nvim": "plugin-nui-nvim", "plugin-nui-nvim": "plugin-nui-nvim",
"plugin-nvim-autopairs": "plugin-nvim-autopairs", "plugin-nvim-autopairs": "plugin-nvim-autopairs",
"plugin-nvim-bufferline-lua": "plugin-nvim-bufferline-lua", "plugin-nvim-bufferline-lua": "plugin-nvim-bufferline-lua",

View file

@ -5,7 +5,7 @@
self, self,
... ...
} @ inputs: let } @ 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 # 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; lib = import ./lib/stdlib-extended.nix inputs;
in in
@ -419,6 +419,11 @@
flake = false; flake = false;
}; };
plugin-nord = {
url = "github:gbprod/nord.nvim";
flake = false;
};
# Rust crates # Rust crates
plugin-crates-nvim = { plugin-crates-nvim = {
url = "github:Saecki/crates.nvim"; url = "github:Saecki/crates.nvim";

View file

@ -4,4 +4,5 @@
"catppuccin" "catppuccin"
"oxocarbon" "oxocarbon"
"gruvbox" "gruvbox"
"nord"
] ]

View file

@ -177,4 +177,14 @@ in {
''; '';
styles = ["main" "moon" "dawn"]; styles = ["main" "moon" "dawn"];
}; };
nord = {
setup = {transparent ? false, ...}: ''
require("nord").setup({
transparent = ${boolToString transparent},
search = "vscode", -- [vim|vscode]
})
vim.cmd.colorscheme("nord")
'';
};
} }