style + fixes + md preview added

This commit is contained in:
2025-09-15 12:41:53 +02:00
parent 3a2c5a5ea4
commit ff2da6e031
5 changed files with 145 additions and 129 deletions

View File

@@ -6,22 +6,25 @@
"conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" },
"gitsigns.nvim": { "branch": "main", "commit": "f780609807eca1f783a36a8a31c30a48fbe150c5" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"mini.icons": { "branch": "main", "commit": "f9a177c11daa7829389b7b6eaaec8b8a5c47052d" },
"monkey-alert": { "branch": "main", "commit": "213a39f8161f80ce43e1a164a54fe796432422b8" },
"neo-tree.nvim": { "branch": "main", "commit": "ed057048a281b418d5318dd5153f9486daa517a3" },
"no-neck-pain.nvim": { "branch": "main", "commit": "76ccd195fb2195ae1b9b9f0d539c517fa3f8a2b9" },
"no-neck-pain.nvim": { "branch": "main", "commit": "0463fbb77bcab4cc9716ba1e87255bbe4d002de7" },
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
"nvim-web-devicons": { "branch": "master", "commit": "6e51ca170563330e063720449c21f43e27ca0bc1" },
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
"peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"rose-pine": { "branch": "main", "commit": "72a04c4065345b51b56aed4859ea1d884f734097" },
"smear-cursor.nvim": { "branch": "main", "commit": "4b86df8a0c5f46e708616b21a02493bb0e47ecbd" },
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
"snacks.nvim": { "branch": "main", "commit": "da230e3ca8146da4b73752daaf0a1d07d343c12d" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
"telescope-git-file-history.nvim": { "branch": "master", "commit": "e7d495319f2a04df96402057a6992ea970f8914d" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },

View File

@@ -15,39 +15,39 @@ return {
-- │ Completion │
{
'saghen/blink.cmp',
dependencies = { 'rafamadriz/friendly-snippets' },
version = '1.*',
"saghen/blink.cmp",
dependencies = { "rafamadriz/friendly-snippets" },
version = "1.*",
-- build = "cargo build --release",
opts = {
-- C-e: Hide menu
-- C-k: Toggle signature help (if signature.enabled = true)
keymap = {
preset = 'default',
['<Enter>'] = { 'accept', 'fallback' },
['<Tab>'] = { 'select_next', 'fallback' },
['<S-Tab>'] = { 'select_prev', 'fallback' },
preset = "default",
["<Enter>"] = { "accept", "fallback" },
["<Tab>"] = { "select_next", "fallback" },
["<S-Tab>"] = { "select_prev", "fallback" },
},
appearance = {
nerd_font_variant = 'mono'
nerd_font_variant = "mono",
},
completion = { documentation = { auto_show = false } },
sources = {
sources = {},
-- default = { "lsp", "path", "snippets", "buffer" },
fuzzy = { implementation = "prefer_rust_with_warning" },
},
default = { 'lsp', 'path', 'snippets', 'buffer' },
fuzzy = { implementation = "prefer_rust_with_warning" }
},
opts_extend = { "sources.default" }
opts_extend = { "sources.default" },
},
-- -- │ Auto close │
{
"windwp/nvim-ts-autotag",
config = function(_, opts)
require('nvim-ts-autotag').setup({
require("nvim-ts-autotag").setup({
opts = {
enable_close = true,
enable_rename = true,
enable_close_on_slash = false
enable_close_on_slash = false,
},
})
end,
@@ -65,5 +65,5 @@ return {
opts = function()
return require("plugins.opts.todocomments")
end,
}
},
}

View File

@@ -17,14 +17,15 @@ return {
{ "tpope/vim-fugitive" },
{
dir = "~/Documents/Code/monkey-alert.nvim",
-- dir = "~/Documents/Code/monkey-alert.nvim",
"dqnid/monkey-alert.nvim",
name = "monkey-alert",
opts = {
monkey_mail_list = "john@doe.org,another@dude.me,dani.heras@hotmail.com",
blame_text_color_hex = "#c0ffee",
blame_text = "- Monkey alert 🐒",
blame_position = "eol",
auto_attach = true
auto_attach = false,
},
},
}

12
lua/plugins/preview.lua Normal file
View File

@@ -0,0 +1,12 @@
return {
{
"toppair/peek.nvim",
event = { "VeryLazy" },
build = "deno task --quiet build:fast",
config = function()
require("peek").setup()
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
end,
},
}

View File

@@ -3,11 +3,11 @@
-- ╰─────────╯
return {
{
dir = "~/Documents/Code/plain-colors.nvim",
-- 'rose-pine/neovim',
-- dir = "~/Documents/Code/plain-colors.nvim",
"rose-pine/neovim",
name = "rose-pine",
opts = {
variant = "darker", -- dark, light, darker | dawn
variant = "dawn", -- dark, light, darker | dawn
},
},
@@ -25,7 +25,7 @@ return {
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
-- "rcarriga/nvim-notify",
}
},
},
{