this is a bit unstable but whatever

This commit is contained in:
2025-07-27 14:21:49 -04:00
parent afdefb7dc3
commit 27f55ed03c
9 changed files with 7 additions and 105 deletions

View File

@ -4,6 +4,9 @@ return { "Saghen/blink.cmp",
"xzbdmw/colorful-menu.nvim",
"L3MON4D3/LuaSnip"
},
config = function()
vim.cmd("!cargo build --release")
end,
lazy = dep_short.auto("InsertEnter"),
load = function()
local colormenu = require("colorful-menu")

View File

@ -1,7 +0,0 @@
return { "numToStr/Comment.nvim",
load = function()
require("Comment").setup {
ignore = "^$"
}
end
}

View File

@ -1,3 +0,0 @@
return { "tweekmonster/helpful.vim",
lazy = dep_short.cmd("HelpfulVersion")
}

View File

@ -7,10 +7,10 @@ return { "L3MON4D3/LuaSnip",
vim.cmd("make install_jsregexp")
end,
lazy = function(load)
load:keymap("n", "<c-a>")
load:keymap("n", "<c-e>")
load:keymap("n", "<c-j>")
load:keymap("n", "<c-k>")
load:keymap({"i", "s"}, "<c-a>")
load:keymap({"i", "s"}, "<c-e>")
load:keymap({"i", "s"}, "<c-j>")
load:keymap({"i", "s"}, "<c-k>")
end,
load = function()
local luasnip = require("luasnip")

View File

@ -1,9 +0,0 @@
return { "norcalli/nvim-colorizer.lua",
disable = not vim.fn.has("nvim-0.4.0") and not vim.fn.has("termguicolors"),
load = function()
require("colorizer").setup(nil, {
names = false,
css = true
})
end
}

View File

@ -1,30 +0,0 @@
return { "nvzone/showkeys",
lazy = dep_short.cmd("ShowKeysToggle"),
load = function()
require("showkeys").setup {
position = "top-right",
winopts = {
border = vim.g.border_style,
},
-- change the way it looks
winhl = "NormalFloat:Comment,NormalFloat:NormalFloat",
maxkeys = 3,
-- change the way keys are displayed
keyformat = {
["<BS>"] = "<BS>",
["<CR>"] = "<CR>",
["<Space>"] = "<Space>",
["<Up>"] = "<Up>",
["<Down>"] = "<Down>",
["<Left>"] = "<Left>",
["<Right>"] = "<Right>",
["<PageUp>"] = "<PageUp>",
["<PageDown>"] = "<PageDown>",
["<M>"] = "Alt",
["<C>"] = "Ctrl",
}
}
end
}

View File

@ -1,39 +0,0 @@
-- TODO: gotta rewrite this cause it's actual dogshit, and I don't want to deal
-- with nerd fonts or folke anymore also add support for TODO(name):
return { "folke/todo-comments.nvim",
reqs = "nvim-lua/plenary.nvim",
load = function()
require("todo-comments").setup {
keywords = {
FIX = {
icon = "# ",
alt = { "FIXME", "BUG" },
},
HACK = {
icon = "* ",
color = "warning",
},
WARN = {
icon = "! ",
color = "warning",
alt = { "WARNING", "XXX" },
},
NOTE = {
icon = "i ",
color = "hint",
alt = { "INFO", "TODO" },
},
PERF = {
icon = "@ ",
alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" },
},
TEST = {
icon = "@ ",
color = "test",
alt = { "TESTING", "PASSED", "FAILED" },
},
},
}
end
}

View File

@ -1,12 +0,0 @@
local map = core.misc.map
return { "mbbill/undotree",
lazy = dep_short.keymap("n", "<leader>u"),
load = function()
if vim.g.loaded_undotree then
vim.g.undotree_DiffAutoOpen = 0
end
map("n", "<leader>u", "<cmd>UndotreeToggle<CR>")
end
}

View File

@ -1,5 +1,4 @@
return { "lervag/vimtex",
lazy = dep_short.ft("tex"),
setup = function()
vim.g.vimtex_view_method = "zathura"
end