Skip to content

Commit

Permalink
Merge pull request #563 from tomasguinzburg/feat-theme-nord
Browse files Browse the repository at this point in the history
feat: add nord theme
  • Loading branch information
NotAShelf authored Jan 17, 2025
2 parents 45a6d9b + ae3340f commit ba27d85
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/release-notes/rl-0.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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";
Expand Down
1 change: 1 addition & 0 deletions modules/plugins/statusline/lualine/supported_themes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
"catppuccin"
"oxocarbon"
"gruvbox"
"nord"
]
10 changes: 10 additions & 0 deletions modules/plugins/theme/supported-themes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
'';
};
}

0 comments on commit ba27d85

Please sign in to comment.