astro-nvim-v3 - up to date

This commit is contained in:
huyjaky
2024-11-14 20:06:17 +07:00
parent e31b780eea
commit 86b1ec41c3
6 changed files with 56 additions and 46 deletions

View File

@@ -165,6 +165,8 @@ local banners = {
[[ ]],
[[ ]],
[[ ]],
[[ ]],
[[ ]],
[[ __ ]],
[[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
[[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],

View File

@@ -24,7 +24,9 @@ return {
{ "xiyaowong/transparent.nvim", enabled = true },
{ "MagicDuck/grug-far.nvim", enabled = false },
{ "loctvl842/monokai-pro.nvim", enabled = false },
{"xiyaowong/transparent.nvim", enabled = false}
{ "xiyaowong/transparent.nvim", enabled = false },
{ "iamcco/markdown-preview.nvim", enabled = false },
{ "max397574/better-escape.nvim", enabled = false },
-- { "hrsh7th/nvim-cmp", enabled = false },
}

View File

@@ -171,6 +171,7 @@ return {
end,
},
},
-- Better split navigation and resize
{
"mrjones2014/smart-splits.nvim",
@@ -230,36 +231,36 @@ return {
},
},
},
-- Find and replace
{
"MagicDuck/grug-far.nvim",
cmd = "GrugFar",
config = function()
require("grug-far").setup {
windowCreationCommand = "tabnew",
}
end,
keys = {
{
"<Leader>R",
function() require("grug-far").grug_far { prefills = { search = vim.fn.expand "<cword>" } } end,
mode = { "n" },
desc = "Open GrugFar",
},
},
},
-- Markdown preview support
-- -- Find and replace
-- {
-- "OXY2DEV/markview.nvim",
-- dependencies = {
-- "MagicDuck/grug-far.nvim",
-- cmd = "GrugFar",
-- config = function()
-- require("grug-far").setup {
-- windowCreationCommand = "tabnew",
-- }
-- end,
-- keys = {
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = function(_, opts)
-- opts.ensure_installed =
-- require("astrocore").list_insert_unique(opts.ensure_installed, { "markdown", "markdown_inline" })
-- end,
-- "<Leader>R",
-- function() require("grug-far").grug_far { prefills = { search = vim.fn.expand "<cword>" } } end,
-- mode = { "n" },
-- desc = "Open GrugFar",
-- },
-- },
-- ft = { "markdown" },
-- },
-- Markdown preview support
{
"OXY2DEV/markview.nvim",
dependencies = {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
opts.ensure_installed =
require("astrocore").list_insert_unique(opts.ensure_installed, { "markdown", "markdown_inline" })
end,
},
},
ft = { "markdown" },
},
}

View File

@@ -2,11 +2,13 @@
return {
{
"goolord/alpha-nvim",
dependencies = { "echasnovski/mini.icons" },
opts = function(_, opts)
-- customize the dashboard header
opts.section.header.val = require("plugins.configs.ui.alpha")[10]
opts.section.buttons.val = {}
end,
-- config = function() require("alpha").setup(require("alpha.themes.startify").config) end,
},
{
"rebelot/heirline.nvim",
@@ -26,7 +28,7 @@ return {
opts.top_down = false
end,
},
-- Transparent background
{
"xiyaowong/transparent.nvim",