]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/colorscheme.lua
lazyvim: absorb colorscheme config
[dotfiles.git] / nvim / lua / plugins / colorscheme.lua
index 613df5eb8d91d8b5363ed47d5ecff12ac4f68f9b..501246e93bd99b68bb7eb26930c1004cd2ed7108 100644 (file)
@@ -1,33 +1,26 @@
----@type LazyPluginSpec
+---@type LazySpec
 return {
-  {
-    "LazyVim",
-    opts = { colorscheme = "catppuccin-mocha" },
-    dependencies = { "catppuccin" },
+  { "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",
@@ -65,7 +58,16 @@ return {
           },
         },
       },
-      { "shaunsingh/nord.nvim"},
+      {
+        "shaunsingh/nord.nvim",
+        init = function()
+          vim.g.nord_contrats = true
+          vim.g.nord_borders = true
+          vim.g.nord_bold = false
+          vim.g.nord_uniform_diff_background = false
+          vim.g.nord_disable_background = false
+        end,
+      },
       -- conflicts with above
       -- { "gbprod/nord.nvim"},
     },