Skip to content

Commit

Permalink
fix(plugins): remove 'shade' since it breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ecosse3 committed Feb 25, 2024
1 parent a0750d5 commit 10c1e6d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions lua/config/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -502,13 +502,6 @@ return {
event = "VeryLazy",
config = true,
},
{
"sunjon/shade.nvim",
config = function()
require("shade").setup()
require("shade").toggle()
end,
},
{
"kevinhwang91/nvim-ufo",
dependencies = "kevinhwang91/promise-async",
Expand Down
4 changes: 0 additions & 4 deletions lua/plugins/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ local present_dapui, dapui = pcall(require, "dapui")
local present_dap, dap = pcall(require, "dap")
local present_virtual_text, dap_vt = pcall(require, "nvim-dap-virtual-text")
local present_dap_utils, dap_utils = pcall(require, "dap.utils")
local _, shade = pcall(require, "shade")
local keymap = vim.keymap.set
local opts = { noremap = true, silent = true }

Expand Down Expand Up @@ -98,15 +97,12 @@ dap.set_log_level("TRACE")
-- Automatically open UI
dap.listeners.after.event_initialized["dapui_config"] = function()
dapui.open()
-- shade.toggle()
end
dap.listeners.after.event_terminated["dapui_config"] = function()
dapui.close()
-- shade.toggle()
end
dap.listeners.before.event_exited["dapui_config"] = function()
dapui.close()
-- shade.toggle()
end

-- Enable virtual text
Expand Down
2 changes: 0 additions & 2 deletions lua/plugins/toggleterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ require("toggleterm").setup {
open_mapping = [[<F12>]],
---@diagnostic disable-next-line: unused-local
on_open = function(term)
require('shade').toggle();
end,
---@diagnostic disable-next-line: unused-local
on_close = function(term)
require('shade').toggle();
end,
highlights = {
-- highlights which map to a highlight group name and a table of it's values
Expand Down

0 comments on commit 10c1e6d

Please sign in to comment.