version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
- install = { colorscheme = { "tokyonight", "habamax" } },
+ install = { colorscheme = { "onenord", "habamax" } },
checker = {
-- automatically check for plugin updates
enabled = true,
----@type LazyPluginSpec
+---@type LazySpec
return {
- {
- "LazyVim",
- opts = { colorscheme = "onenord" },
- dependencies = { "onenord.nvim" },
+ { "rmehri01/onenord.nvim",
+ lazy = false,
+ priority = 1000,
+ 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,
},
- {
+ { name = "colorschemes",
-- this meta plugin can be used to install all colorschemes to test with telescope
- name = "colorschemes",
dir = "",
lazy = true,
dependencies = {
- {
- -- 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" },
{
"catppuccin/nvim",
name = "catppuccin",
},
{
"shaunsingh/nord.nvim",
- dev = true,
init = function()
vim.g.nord_contrats = true
vim.g.nord_borders = true