]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: switch to nord colorscheme
authorSamir Benmendil <me@rmz.io>
Tue, 2 May 2023 09:22:03 +0000 (10:22 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:23:07 +0000 (17:23 +0000)
nvim/lua/plugins/colorscheme.lua [new file with mode: 0644]

diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua
new file mode 100644 (file)
index 0000000..216da0a
--- /dev/null
@@ -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" },
+    },
+  },
+}