Explorar o código

refactor: remove non default colorschemes

Christian Chiarulli %!s(int64=2) %!d(string=hai) anos
pai
achega
6381e284ea
Modificáronse 4 ficheiros con 0 adicións e 77 borrados
  1. 0 9
      lua/lvim/config/_deprecated.lua
  2. 0 44
      lua/lvim/core/theme.lua
  3. 0 18
      lua/lvim/plugins.lua
  4. 0 6
      snapshots/default.json

+ 0 - 9
lua/lvim/config/_deprecated.lua

@@ -24,15 +24,6 @@ function M.handle()
     end,
     end,
   }
   }
 
 
-  ---@deprecated
-  lvim.builtin.theme.options = {}
-  setmetatable(lvim.builtin.theme.options, {
-    __newindex = function(_, k, v)
-      deprecate("lvim.builtin.theme.options." .. k, "Use `lvim.builtin.theme.<theme>.options` instead")
-      lvim.builtin.theme.tokyonight.options[k] = v
-    end,
-  })
-
   ---@deprecated
   ---@deprecated
   lvim.builtin.notify = {}
   lvim.builtin.notify = {}
   setmetatable(lvim.builtin.notify, {
   setmetatable(lvim.builtin.notify, {

+ 0 - 44
lua/lvim/core/theme.lua

@@ -9,50 +9,6 @@ M.config = function()
       options = { -- currently unused
       options = { -- currently unused
       },
       },
     },
     },
-    tokyonight = {
-      options = {
-        on_highlights = function(hl, c)
-          hl.IndentBlanklineContextChar = {
-            fg = c.dark5,
-          }
-          hl.TSConstructor = {
-            fg = c.blue1,
-          }
-          hl.TSTagDelimiter = {
-            fg = c.dark5,
-          }
-        end,
-        style = "night", -- The theme comes in three styles, `storm`, a darker variant `night` and `day`
-        transparent = lvim.transparent_window, -- Enable this to disable setting the background color
-        terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
-        styles = {
-          -- Style to be applied to different syntax groups
-          -- Value is any valid attr-list value for `:help nvim_set_hl`
-          comments = { italic = true },
-          keywords = { italic = true },
-          functions = {},
-          variables = {},
-          -- Background styles. Can be "dark", "transparent" or "normal"
-          sidebars = "dark", -- style for sidebars, see below
-          floats = "dark", -- style for floating windows
-        },
-        -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]`
-        sidebars = {
-          "qf",
-          "vista_kind",
-          "terminal",
-          "packer",
-          "spectre_panel",
-          "NeogitStatus",
-          "help",
-        },
-        day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors
-        hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**.
-        dim_inactive = false, -- dims inactive windows
-        lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold
-        use_background = true, -- can be light/dark/auto. When auto, background will be set to vim.o.background
-      },
-    },
   }
   }
 end
 end
 
 

+ 0 - 18
lua/lvim/plugins.lua

@@ -36,10 +36,6 @@ local core_plugins = {
     event = "User FileOpened",
     event = "User FileOpened",
     lazy = true,
     lazy = true,
   },
   },
-  {
-    "folke/tokyonight.nvim",
-    lazy = not vim.startswith(lvim.colorscheme, "tokyonight"),
-  },
   {
   {
     "lunarvim/lunar.nvim",
     "lunarvim/lunar.nvim",
     lazy = lvim.colorscheme ~= "lunar",
     lazy = lvim.colorscheme ~= "lunar",
@@ -332,20 +328,6 @@ local core_plugins = {
     enabled = lvim.builtin.indentlines.active,
     enabled = lvim.builtin.indentlines.active,
   },
   },
 
 
-  {
-    "lunarvim/onedarker.nvim",
-    branch = "freeze",
-    config = function()
-      pcall(function()
-        if lvim and lvim.colorscheme == "onedarker" then
-          require("onedarker").setup()
-          lvim.builtin.lualine.options.theme = "onedarker"
-        end
-      end)
-    end,
-    lazy = lvim.colorscheme ~= "onedarker",
-  },
-
   {
   {
     "lunarvim/bigfile.nvim",
     "lunarvim/bigfile.nvim",
     config = function()
     config = function()

+ 0 - 6
snapshots/default.json

@@ -95,9 +95,6 @@
   "nvim-web-devicons": {
   "nvim-web-devicons": {
     "commit": "4ec26d6"
     "commit": "4ec26d6"
   },
   },
-  "onedarker.nvim": {
-    "commit": "b00dd21"
-  },
   "plenary.nvim": {
   "plenary.nvim": {
     "commit": "9ac3e95"
     "commit": "9ac3e95"
   },
   },
@@ -119,9 +116,6 @@
   "toggleterm.nvim": {
   "toggleterm.nvim": {
     "commit": "68fdf85"
     "commit": "68fdf85"
   },
   },
-  "tokyonight.nvim": {
-    "commit": "c5df636"
-  },
   "vim-illuminate": {
   "vim-illuminate": {
     "commit": "a290727"
     "commit": "a290727"
   },
   },