mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
enc: update config mason backdrop
This commit is contained in:
parent
04f3bfc8a3
commit
f3761c699a
16 changed files with 316 additions and 277 deletions
|
@ -20,9 +20,8 @@
|
||||||
"code_runner.nvim": { "branch": "main", "commit": "65c8d11f507073b915f10faa88ea05bd4fbf69ce" },
|
"code_runner.nvim": { "branch": "main", "commit": "65c8d11f507073b915f10faa88ea05bd4fbf69ce" },
|
||||||
"codeium.vim": { "branch": "main", "commit": "272c6e2755e8faa90e26bcdcd9fde6b9e61751ea" },
|
"codeium.vim": { "branch": "main", "commit": "272c6e2755e8faa90e26bcdcd9fde6b9e61751ea" },
|
||||||
"conform.nvim": { "branch": "master", "commit": "8132ec733eed3bf415b97b76797ca41b59f51d7d" },
|
"conform.nvim": { "branch": "master", "commit": "8132ec733eed3bf415b97b76797ca41b59f51d7d" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
|
||||||
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "d0f90ef51d4be86b824b012ec52ed715b5622e51" },
|
"gitsigns.nvim": { "branch": "main", "commit": "731b581428ec6c1ccb451b95190ebbc6d7006db7" },
|
||||||
"inc-rename.nvim": { "branch": "main", "commit": "a3e31af13844534c66041ce92f29af7745883875" },
|
"inc-rename.nvim": { "branch": "main", "commit": "a3e31af13844534c66041ce92f29af7745883875" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
|
@ -34,7 +33,7 @@
|
||||||
"mini.indentscope": { "branch": "main", "commit": "8af2569a7d7fd37300dfa760e44e71efbbf322fd" },
|
"mini.indentscope": { "branch": "main", "commit": "8af2569a7d7fd37300dfa760e44e71efbbf322fd" },
|
||||||
"minty": { "branch": "main", "commit": "aafc9e8e0afe6bf57580858a2849578d8d8db9e0" },
|
"minty": { "branch": "main", "commit": "aafc9e8e0afe6bf57580858a2849578d8d8db9e0" },
|
||||||
"neotest": { "branch": "master", "commit": "ef492755730e59e1d8122c461abbd086bee4c76b" },
|
"neotest": { "branch": "master", "commit": "ef492755730e59e1d8122c461abbd086bee4c76b" },
|
||||||
"neotest-golang": { "branch": "main", "commit": "c452301848418baf244e2da34491157bca7614c1" },
|
"neotest-golang": { "branch": "main", "commit": "0a0acff3cf9a0bf140c84ea9e66d818df7c2608f" },
|
||||||
"neotest-plenary": { "branch": "master", "commit": "3523adcf9ffaad1911960c5813b0136c1b63a2ec" },
|
"neotest-plenary": { "branch": "master", "commit": "3523adcf9ffaad1911960c5813b0136c1b63a2ec" },
|
||||||
"neotest-vim-test": { "branch": "master", "commit": "75c4228882ae4883b11bfce9b8383e637eb44192" },
|
"neotest-vim-test": { "branch": "master", "commit": "75c4228882ae4883b11bfce9b8383e637eb44192" },
|
||||||
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
|
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
|
||||||
|
@ -61,16 +60,16 @@
|
||||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" },
|
"rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" },
|
||||||
"refactoring.nvim": { "branch": "master", "commit": "9cd0186ffe76fe6abc64c0aafb775c8f776ab5ee" },
|
"refactoring.nvim": { "branch": "master", "commit": "9cd0186ffe76fe6abc64c0aafb775c8f776ab5ee" },
|
||||||
|
"showkeys": { "branch": "main", "commit": "cb0a50296f11f1e585acffba8c253b9e8afc1f84" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "9af865e451e55a9835fae6862dd7c55396870ecb" },
|
"smart-splits.nvim": { "branch": "master", "commit": "9af865e451e55a9835fae6862dd7c55396870ecb" },
|
||||||
"telescope-treesitter-info.nvim": { "branch": "master", "commit": "4bed952c3c33015c4402007f179b478843d5aa3b" },
|
"telescope-treesitter-info.nvim": { "branch": "master", "commit": "4bed952c3c33015c4402007f179b478843d5aa3b" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||||
"tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "51f548421f8a74680eff27d283c9d5ea6e8d0074" },
|
"tiny-devicons-auto-colors.nvim": { "branch": "main", "commit": "51f548421f8a74680eff27d283c9d5ea6e8d0074" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
|
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
|
||||||
"transparent.nvim": { "branch": "main", "commit": "d41ae9b56ac2706cb3db4b16afe5cd6903013937" },
|
|
||||||
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
|
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
|
||||||
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
|
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" },
|
||||||
"virt-column.nvim": { "branch": "master", "commit": "b87e3e0864211a32724a2ebf3be37e24e9e2fa99" },
|
"virt-column.nvim": { "branch": "master", "commit": "b87e3e0864211a32724a2ebf3be37e24e9e2fa99" },
|
||||||
"volt": { "branch": "main", "commit": "c45d5f48da8e802e608b5c6da471ca4d84276dfb" },
|
"volt": { "branch": "main", "commit": "2aa99a4e388c840597441a901209cbdafe8472ed" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
|
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
|
||||||
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" },
|
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" },
|
||||||
"zen-mode.nvim": { "branch": "main", "commit": "863f150ca321b3dd8aa1a2b69b5f411a220e144f" }
|
"zen-mode.nvim": { "branch": "main", "commit": "863f150ca321b3dd8aa1a2b69b5f411a220e144f" }
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
return {
|
|
||||||
"stevearc/dressing.nvim",
|
|
||||||
lazy = true,
|
|
||||||
init = function()
|
|
||||||
---@diagnostic disable-next-line: duplicate-set-field
|
|
||||||
vim.ui.select = function(...)
|
|
||||||
require("lazy").load({ plugins = { "dressing.nvim" } })
|
|
||||||
return vim.ui.select(...)
|
|
||||||
end
|
|
||||||
---@diagnostic disable-next-line: duplicate-set-field
|
|
||||||
vim.ui.input = function(...)
|
|
||||||
require("lazy").load({ plugins = { "dressing.nvim" } })
|
|
||||||
return vim.ui.input(...)
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
opts = {
|
|
||||||
input = {
|
|
||||||
title_pos = "center",
|
|
||||||
relative = "editor",
|
|
||||||
default_prompt = "➤ ",
|
|
||||||
win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" },
|
|
||||||
prefer_width = 30,
|
|
||||||
max_width = { 140, 0.9 },
|
|
||||||
min_width = { 50, 0.2 },
|
|
||||||
},
|
|
||||||
select = {
|
|
||||||
backend = { "telescope", "builtin" },
|
|
||||||
builtin = { win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" } },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
config = function(_, opts)
|
|
||||||
require("dressing").setup(opts)
|
|
||||||
end,
|
|
||||||
}
|
|
34
lua/pcode/plugins/extras/dressing.lua
Normal file
34
lua/pcode/plugins/extras/dressing.lua
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
return {
|
||||||
|
"stevearc/dressing.nvim",
|
||||||
|
lazy = true,
|
||||||
|
init = function()
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
|
vim.ui.select = function(...)
|
||||||
|
require("lazy").load({ plugins = { "dressing.nvim" } })
|
||||||
|
return vim.ui.select(...)
|
||||||
|
end
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
|
vim.ui.input = function(...)
|
||||||
|
require("lazy").load({ plugins = { "dressing.nvim" } })
|
||||||
|
return vim.ui.input(...)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
opts = {
|
||||||
|
input = {
|
||||||
|
title_pos = "center",
|
||||||
|
relative = "editor",
|
||||||
|
default_prompt = "➤ ",
|
||||||
|
win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" },
|
||||||
|
prefer_width = 30,
|
||||||
|
max_width = { 140, 0.9 },
|
||||||
|
min_width = { 50, 0.2 },
|
||||||
|
},
|
||||||
|
select = {
|
||||||
|
backend = { "telescope", "builtin" },
|
||||||
|
builtin = { win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" } },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("dressing").setup(opts)
|
||||||
|
end,
|
||||||
|
}
|
|
@ -1,12 +1,13 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvchad/menu",
|
"nvzone/menu",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = { "VeryLazy" },
|
event = { "VeryLazy" },
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "nvchad/volt", lazy = true },
|
{ "nvzone/volt", lazy = true },
|
||||||
|
{ "nvzone/showkeys", cmd = "ShowkeysToggle", lazy = true },
|
||||||
{
|
{
|
||||||
"nvchad/minty",
|
"nvzone/minty",
|
||||||
cmd = { "Shades", "Huefy" },
|
cmd = { "Shades", "Huefy" },
|
||||||
lazy = true,
|
lazy = true,
|
||||||
},
|
},
|
||||||
|
@ -22,10 +23,12 @@ return {
|
||||||
end, {})
|
end, {})
|
||||||
|
|
||||||
-- mouse users + nvimtree users!
|
-- mouse users + nvimtree users!
|
||||||
vim.keymap.set("n", "<RightMouse>", function()
|
vim.keymap.set({ "n", "v" }, "<RightMouse>", function()
|
||||||
|
require("menu.utils").delete_old_menus()
|
||||||
vim.cmd.exec('"normal! \\<RightMouse>"')
|
vim.cmd.exec('"normal! \\<RightMouse>"')
|
||||||
|
|
||||||
local options = vim.bo.ft == "NvimTree" and "nvimtree" or "default"
|
local buf = vim.api.nvim_win_get_buf(vim.fn.getmousepos().winid)
|
||||||
|
local options = vim.bo[buf].ft == "NvimTree" and "nvimtree" or "default"
|
||||||
require("menu").open(options, opts)
|
require("menu").open(options, opts)
|
||||||
end, {})
|
end, {})
|
||||||
end,
|
end,
|
||||||
|
|
11
lua/pcode/plugins/extras/tinydignostic.lua
Normal file
11
lua/pcode/plugins/extras/tinydignostic.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
return {
|
||||||
|
"rachartier/tiny-inline-diagnostic.nvim",
|
||||||
|
event = "VeryLazy", -- Or `LspAttach`
|
||||||
|
priority = 1000, -- needs to be loaded in first
|
||||||
|
config = function()
|
||||||
|
require("tiny-inline-diagnostic").setup({
|
||||||
|
preset = "powerline",
|
||||||
|
})
|
||||||
|
vim.diagnostic.config({ virtual_text = false }) -- Only if needed in your configuration, if you already have native LSP diagnostics
|
||||||
|
end,
|
||||||
|
}
|
|
@ -6,9 +6,24 @@ return {
|
||||||
},
|
},
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local icons = require("pcode.user.icons")
|
local icons = require("pcode.user.icons")
|
||||||
opts.disable_netrw = true
|
opts.auto_reload_on_write = false
|
||||||
opts.hijack_cursor = true
|
opts.disable_netrw = false
|
||||||
|
opts.hijack_cursor = false
|
||||||
|
opts.hijack_netrw = true
|
||||||
|
opts.hijack_unnamed_buffer_when_opening = false
|
||||||
opts.sync_root_with_cwd = true
|
opts.sync_root_with_cwd = true
|
||||||
|
opts.sort = {
|
||||||
|
sorter = "name",
|
||||||
|
folders_first = true,
|
||||||
|
files_first = false,
|
||||||
|
}
|
||||||
|
opts.root_dirs = {}
|
||||||
|
opts.prefer_startup_root = false
|
||||||
|
opts.sync_root_with_cwd = true
|
||||||
|
opts.reload_on_bufenter = false
|
||||||
|
opts.respect_buf_cwd = false
|
||||||
|
opts.on_attach = "default"
|
||||||
|
opts.select_prompts = false
|
||||||
opts.update_focused_file = {
|
opts.update_focused_file = {
|
||||||
enable = true,
|
enable = true,
|
||||||
update_root = false,
|
update_root = false,
|
||||||
|
|
|
@ -49,6 +49,7 @@ return {
|
||||||
Normal = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
Normal = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
||||||
NormalNC = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
NormalNC = { fg = colors.text, bg = transparent and colors.none or colors.base },
|
||||||
StatusLine = { fg = colors.text, bg = colors.none },
|
StatusLine = { fg = colors.text, bg = colors.none },
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
highlight_overrides = {
|
highlight_overrides = {
|
||||||
|
|
|
@ -50,6 +50,7 @@ return {
|
||||||
LspReferenceWrite = { bg = "#3b4261" },
|
LspReferenceWrite = { bg = "#3b4261" },
|
||||||
WinBar = { bg = colors.bg },
|
WinBar = { bg = colors.bg },
|
||||||
WinBarNC = { fg = colors.fg, bg = colors.bg },
|
WinBarNC = { fg = colors.fg, bg = colors.bg },
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
},
|
},
|
||||||
transparent_bg = false,
|
transparent_bg = false,
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ return {
|
||||||
hi(0, "NormalFloat", { bg = color.background })
|
hi(0, "NormalFloat", { bg = color.background })
|
||||||
hi(0, "TabLine", { bg = color.background })
|
hi(0, "TabLine", { bg = color.background })
|
||||||
hi(0, "NormalNC", { bg = color.background })
|
hi(0, "NormalNC", { bg = color.background })
|
||||||
|
hi(0, "MasonBackdrop", { link = "NormalFloat" })
|
||||||
hi(0, "@tag.delimiter.javascript", { fg = color.punctuation })
|
hi(0, "@tag.delimiter.javascript", { fg = color.punctuation })
|
||||||
hi(0, "@tag.delimiter.tsx", { fg = color.punctuation })
|
hi(0, "@tag.delimiter.tsx", { fg = color.punctuation })
|
||||||
-- git
|
-- git
|
||||||
|
|
|
@ -53,6 +53,7 @@ return {
|
||||||
specs = {},
|
specs = {},
|
||||||
groups = {
|
groups = {
|
||||||
all = {
|
all = {
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
illuminatedWord = { bg = "#3b4261" },
|
illuminatedWord = { bg = "#3b4261" },
|
||||||
illuminatedCurWord = { bg = "#3b4261" },
|
illuminatedCurWord = { bg = "#3b4261" },
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
|
|
|
@ -18,6 +18,7 @@ return {
|
||||||
["FoldColumn"] = { bg = "NONE" },
|
["FoldColumn"] = { bg = "NONE" },
|
||||||
["Folded"] = { bg = "NONE" },
|
["Folded"] = { bg = "NONE" },
|
||||||
["SignColumn"] = { bg = "NONE" },
|
["SignColumn"] = { bg = "NONE" },
|
||||||
|
["MasonBackdrop"] = { link = "NormalFloat" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -33,6 +33,7 @@ return {
|
||||||
hi(0, "TelescopePromptNormal", { bg = colors.dark, fg = colors.grey })
|
hi(0, "TelescopePromptNormal", { bg = colors.dark, fg = colors.grey })
|
||||||
hi(0, "TelescopePromptPrefix", { bg = colors.dark, fg = colors.red })
|
hi(0, "TelescopePromptPrefix", { bg = colors.dark, fg = colors.red })
|
||||||
hi(0, "TelescopeResultsTitle", { bg = colors.olive_green, fg = colors.very_dark_gray })
|
hi(0, "TelescopeResultsTitle", { bg = colors.olive_green, fg = colors.very_dark_gray })
|
||||||
|
hi(0, "MasonBackdrop", { link = "NormalFloat" })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
local colorscheme = pcode.themes.jetbrains or "darcula-dark"
|
local colorscheme = pcode.themes.jetbrains or "darcula-dark"
|
||||||
|
|
|
@ -116,6 +116,7 @@ return {
|
||||||
NormalNC = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
NormalNC = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
||||||
FloatBorder = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
FloatBorder = { fg = "${fg}", bg = is_transparent and "NONE" or "${bg}" },
|
||||||
NonText = { bg = "NONE", fg = "#3E4450" },
|
NonText = { bg = "NONE", fg = "#3E4450" },
|
||||||
|
MasonBackdrop = { link = "NormalFloat" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
local colorscheme = pcode.themes.onedarkpro or "onedark"
|
local colorscheme = pcode.themes.onedarkpro or "onedark"
|
||||||
|
|
|
@ -12,6 +12,7 @@ return {
|
||||||
-- custom hilights
|
-- custom hilights
|
||||||
local hi = vim.api.nvim_set_hl
|
local hi = vim.api.nvim_set_hl
|
||||||
hi(0, "FoldColumn", { bg = colors.bg2 })
|
hi(0, "FoldColumn", { bg = colors.bg2 })
|
||||||
|
hi(0, "MasonBackdrop", { link = "NormalFloat" })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -71,6 +71,7 @@ return {
|
||||||
highlights["@tag.attribute"] = { fg = colors.green1, italic = true }
|
highlights["@tag.attribute"] = { fg = colors.green1, italic = true }
|
||||||
-- highlights["@keyword.function"] = { fg = colors.blue, italic = true }
|
-- highlights["@keyword.function"] = { fg = colors.blue, italic = true }
|
||||||
-- highlights["@function"] = { fg = colors.blue, italic = true }
|
-- highlights["@function"] = { fg = colors.blue, italic = true }
|
||||||
|
highlights.MasonBackdrop = { link = "NormalFloat" }
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -48,6 +48,8 @@ pcode.extras = {
|
||||||
lspsignatur = false,
|
lspsignatur = false,
|
||||||
telescopetreesiterinfo = true,
|
telescopetreesiterinfo = true,
|
||||||
fidget = false,
|
fidget = false,
|
||||||
|
tinydignostic = false,
|
||||||
|
dressing = false,
|
||||||
}
|
}
|
||||||
-- activate config themes
|
-- activate config themes
|
||||||
pcode.themes = {
|
pcode.themes = {
|
||||||
|
@ -93,6 +95,6 @@ pcode.themes = {
|
||||||
-- github = "github_dark_dimmed",
|
-- github = "github_dark_dimmed",
|
||||||
}
|
}
|
||||||
-- activate config transparent_bg
|
-- activate config transparent_bg
|
||||||
pcode.transparent = true
|
pcode.transparent = false
|
||||||
pcode.localcode = true
|
pcode.localcode = true
|
||||||
pcode.snippets_path = vim.fn.stdpath("config") .. "/mysnippets"
|
pcode.snippets_path = vim.fn.stdpath("config") .. "/mysnippets"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue