init.lua/lua/plugins/core.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
---@type LazySpec
return {
"nvim-lua/plenary.nvim",
{ "tpope/vim-surround", keys = { "c", "d", "y" } },
{ "tpope/vim-repeat", event = "VeryLazy" },
{ "tpope/vim-speeddating", keys = { "<C-a>", "<C-x>" } },
{ "wakatime/vim-wakatime", event = "VeryLazy" },
{ "OXY2DEV/markview.nvim", ft = "markdown" },
{
"bngarren/checkmate.nvim",
ft = "markdown",
---@module "checkmate"
---@type checkmate.Config
---@diagnostic disable-next-line: missing-fields
opts = {
files = { "todo", "Projects/*", "*.todo*", "*.pali*" },
metadata = {
next = { style = { fg = "#0db9d7" } },
done = {
key = "<localleader>td",
style = { fg = "#96de7a" },
get_value = function()
return tostring(os.date "%Y-%m-%d")
end,
},
},
keys = {
["<localleader>T"] = "toggle",
["<localleader>c"] = "check",
["<localleader>u"] = "uncheck",
["<localleader>a"] = "create",
["<localleader>r"] = "remove_all_metadata",
["<localleader>A"] = "archive",
},
},
},
{
"folke/tokyonight.nvim",
opts = { style = "night" },
init = function()
vim.cmd.colorscheme "tokyonight"
end,
},
{
"oysandvik94/curl.nvim",
version = false,
cmd = { "CurlOpen", "CurlCollection" },
---@module "curl"
---@type curl_config
---@diagnostic disable-next-line: missing-fields
opts = {
default_flags = { "-i" },
open_with = "vsplit",
},
},
{
"folke/todo-comments.nvim",
event = "BufRead",
config = function()
require("todo-comments").setup {}
end,
},
}
|