🗑️ Discard Old Configs
- Discard the leftover configs that are no longer used
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- Catppuccin ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("catppuccin").setup({
|
||||
integrations = {
|
||||
cmp = true,
|
||||
diffview = true,
|
||||
dashboard = true,
|
||||
gitsigns = true,
|
||||
nvimtree = true,
|
||||
neotree = true,
|
||||
treesitter = true,
|
||||
markdown = true,
|
||||
sandwich = true,
|
||||
which_key = true,
|
||||
telescope = { enabled = true, style = "nvchad" },
|
||||
illuminate = { enabled = true, lsp = true },
|
||||
notify = true,
|
||||
notifier = true,
|
||||
dap = true,
|
||||
dap_ui = true,
|
||||
ts_rainbow2 = true,
|
||||
rainbow_delimiters = true,
|
||||
lsp_trouble = true,
|
||||
noice = true, -- codespell:ignore noice
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" },
|
||||
ok = { "italic" },
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" },
|
||||
ok = { "underline" },
|
||||
},
|
||||
inlay_hints = { background = true },
|
||||
},
|
||||
mini = { enabled = true, indentscope_color = "mauve" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ---------------------------------- Edgy -------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"folke/edgy.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.opt.laststatus = 3
|
||||
vim.opt.splitkeep = "screen"
|
||||
end,
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- GitSigns -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"lewis6991/gitsigns.nvim"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- LuaRocks -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"vhyrro/luarocks.nvim",
|
||||
priority = 1000,
|
||||
config = true
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------ mini-animate ---------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"echasnovski/mini.animate",
|
||||
recommended = true,
|
||||
event = "VeryLazy",
|
||||
opts = function()
|
||||
-- don't use animate when scrolling with the mouse
|
||||
local mouse_scrolled = false
|
||||
for _, scroll in ipairs({ "Up", "Down" }) do
|
||||
local key = "<ScrollWheel" .. scroll .. ">"
|
||||
vim.keymap.set({ "", "i" }, key, function()
|
||||
mouse_scrolled = true
|
||||
return key
|
||||
end, { expr = true })
|
||||
end
|
||||
|
||||
local animate = require("mini.animate")
|
||||
return {
|
||||
resize = {
|
||||
timing = animate.gen_timing.linear({
|
||||
duration = 50,
|
||||
unit = "total",
|
||||
}),
|
||||
},
|
||||
scroll = {
|
||||
timing = animate.gen_timing.linear({
|
||||
duration = 150,
|
||||
unit = "total",
|
||||
}),
|
||||
subscroll = animate.gen_subscroll.equal({
|
||||
predicate = function(total_scroll)
|
||||
if mouse_scrolled then
|
||||
mouse_scrolled = false
|
||||
return false
|
||||
end
|
||||
return total_scroll > 1
|
||||
end,
|
||||
}),
|
||||
},
|
||||
}
|
||||
end,
|
||||
cond = function() -- Not Using SSH or root
|
||||
return not vim.g.neovide
|
||||
end,
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- mini-icons ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"echasnovski/mini.icons",
|
||||
version = false,
|
||||
lazy = true,
|
||||
config = function()
|
||||
require("mini.icons").setup()
|
||||
MiniIcons.mock_nvim_web_devicons()
|
||||
end,
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- neo-tree -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
lazy = true,
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("neo-tree").setup({
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
statusline = false,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- Telescope ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
require("telescope").setup({
|
||||
defaults = {
|
||||
dynamic_preview_title = true,
|
||||
prompt_prefix = " ",
|
||||
selection_caret = " ",
|
||||
},
|
||||
extensions = {
|
||||
fzf = {
|
||||
fuzzy = true, -- false will only do exact matching
|
||||
override_generic_sorter = true, -- override the generic sorter
|
||||
override_file_sorter = true, -- override the file sorter
|
||||
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
||||
-- the default case_mode is "smart_case"
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
config = function()
|
||||
require("trouble").setup({
|
||||
modes = {
|
||||
preview_float = {
|
||||
mode = "diagnostics",
|
||||
preview = {
|
||||
type = "float",
|
||||
relative = "editor",
|
||||
border = "rounded",
|
||||
title = "Preview",
|
||||
title_pos = "center",
|
||||
position = { 0, -2 },
|
||||
size = { width = 0.3, height = 0.3 },
|
||||
zindex = 200,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user