瀏覽代碼

feat: new colorscheme tokyonight (#3041)

Christian Chiarulli 2 年之前
父節點
當前提交
58280f30ad
共有 2 個文件被更改,包括 7 次插入8 次删除
  1. 5 6
      lua/lvim/plugins.lua
  2. 2 2
      snapshots/default.json

+ 5 - 6
lua/lvim/plugins.lua

@@ -15,17 +15,16 @@ local core_plugins = {
     end,
   },
   {
-    "lunarvim/onedarker.nvim",
-    branch = "freeze",
+    "lunarvim/tokyonight.nvim",
     config = function()
       pcall(function()
-        if lvim and lvim.colorscheme == "onedarker" then
-          require("onedarker").setup()
-          lvim.builtin.lualine.options.theme = "onedarker"
+        if lvim and lvim.colorscheme == "tokyonight-night" then
+          require("tokyonight-night").setup()
+          lvim.builtin.lualine.options.theme = "tokyonight-night"
         end
       end)
     end,
-    disable = lvim.colorscheme ~= "onedarker",
+    disable = lvim.colorscheme ~= "tokyonight-night",
   },
   {
     "rcarriga/nvim-notify",

+ 2 - 2
snapshots/default.json

@@ -83,8 +83,8 @@
   "nvim-web-devicons": {
     "commit": "2d02a56"
   },
-  "onedarker.nvim": {
-    "commit": "b00dd21"
+  "tokyonight.nvim": {
+    "commit": "48fc163"
   },
   "packer.nvim": {
     "commit": "6afb674"