From: Samir Benmendil Date: Tue, 2 May 2023 09:22:03 +0000 (+0100) Subject: nvim: switch to nord colorscheme X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/4a1458d924b9f2a7d986d34238f931dc4eb5c29c?ds=sidebyside nvim: switch to nord colorscheme --- diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..216da0a --- /dev/null +++ b/nvim/lua/plugins/colorscheme.lua @@ -0,0 +1,32 @@ +---@type LazyPluginSpec +return { + { "LazyVim", opts = { colorscheme = "nord" } }, + { + -- this meta plugin can be used to install all colorschemes to test with telescope + name = "colorschemes", + dir = "", + lazy = true, + dependencies = { + { "shaunsingh/nord.nvim"}, + -- conflicts with above + -- { "gbprod/nord.nvim"}, + { + -- requires too much configuration to make look good + "rmehri01/onenord.nvim", + opts = function(_, opts) + local colors = require("onenord.colors").load() + opts = vim.tbl_extend("force", opts, { + custom_highlights = { + ["@parameter"] = { fg = colors.fg }, + ["@namespace"] = { fg = colors.fg }, + ["@type"] = { fg = colors.fg }, + ["@variable.builtin"] = { fg = colors.fg }, + }, + }) + return opts + end, + }, + { "folke/tokyonight.nvim" }, + }, + }, +}