moves from plugin theme to single lua file
This commit is contained in:
parent
b39c6faf50
commit
fdd35fa934
7 changed files with 329 additions and 65 deletions
|
|
@ -8,17 +8,12 @@ return {
|
|||
"icon",
|
||||
"permissions",
|
||||
"size",
|
||||
-- "mtime",
|
||||
},
|
||||
float = {
|
||||
padding = 4,
|
||||
border = "rounded",
|
||||
preview_split = "auto",
|
||||
"mtime",
|
||||
},
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>n", "<cmd>Oil --float<cr>", desc = "Open file browser", mode = "n" },
|
||||
{ "<leader>n", "<cmd>Oil<cr>", desc = "Open file browser", mode = "n" },
|
||||
}
|
||||
,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ return {
|
|||
},
|
||||
indent = {
|
||||
enabled = true,
|
||||
char = "┆",
|
||||
},
|
||||
input = { enabled = true },
|
||||
lazygit = {
|
||||
|
|
@ -193,5 +192,12 @@ return {
|
|||
end,
|
||||
desc = "Open notification history",
|
||||
},
|
||||
{
|
||||
"<leader>oh",
|
||||
function()
|
||||
Snacks.picker.highlights()
|
||||
end,
|
||||
desc = "List highlights",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,50 +0,0 @@
|
|||
return {
|
||||
"miikanissi/modus-themes.nvim",
|
||||
priority = 1000,
|
||||
opts = {
|
||||
style = "modus_vivendi",
|
||||
styles = {
|
||||
comments = { italic = true },
|
||||
keywords = { italic = false },
|
||||
},
|
||||
variant = "tinted",
|
||||
transparent = true,
|
||||
sign_column_background = false,
|
||||
line_nr_column_background = false,
|
||||
on_highlights = function(highlight, color)
|
||||
highlight.TabLine = { fg = color.fg_dim, bg = color.bg_dim }
|
||||
highlight.TabLineFill = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferInactiveMod = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferInactive = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferInactiveSign = { fg = color.fg_alt, bg = color.bg_main }
|
||||
highlight.BufferInactiveSignRight = { fg = color.fg_alt, bg = color.bg_main }
|
||||
highlight.BufferInactiveTarget = { fg = color.yellow_faint, bg = color.bg_main }
|
||||
highlight.BufferActiveMod = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferActive = { fg = color.fg_dim, bg = color.bg_main }
|
||||
highlight.BufferActiveSign = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferActiveSignRight = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferActiveTarget = { fg = color.yellow_faint, bg = color.bg_dim }
|
||||
highlight.BufferCurrentMod = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferCurrentBtn = { fg = color.fg_main, bg = color.bg_dim }
|
||||
highlight.BufferCurrent = { fg = color.fg_main, bg = color.bg_dim }
|
||||
highlight.BufferCurrentSign = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferCurrentSignRight = { fg = color.fg_alt, bg = color.bg_dim }
|
||||
highlight.BufferCurrentTarget = { fg = color.yellow_faint, bg = color.bg_dim }
|
||||
highlight.WhichKeyFloat = { fg = "NONE", bg = "NONE" }
|
||||
highlight.NormalFloat = { fg = "NONE", bg = "NONE" }
|
||||
highlight.SnacksIndent = { fg = color.bg_dim }
|
||||
highlight.FlashMatch = { fg = color.fg_main, bg = color.bg_cyan_subtle }
|
||||
highlight.FlashLabel = { fg = color.fg_main, bg = color.bg_magenta_intense }
|
||||
highlight.SnacksIndentScope = { fg = color.fg_dim }
|
||||
highlight.CursorLine = { bg = color.tinted_bg_cyan_nuanced }
|
||||
highlight.Visual = { bg = color.bg_magenta_subtle }
|
||||
highlight.Search = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight.IncSearch = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight["@comment"] = { fg = color.fg_dim }
|
||||
highlight["@tag.tsx"] = { fg = color.fg_main }
|
||||
end,
|
||||
},
|
||||
init = function()
|
||||
vim.cmd([[colorscheme modus]])
|
||||
end,
|
||||
}
|
||||
|
|
@ -21,12 +21,6 @@ return {
|
|||
desc = "Go to definition in other window",
|
||||
mode = "n",
|
||||
},
|
||||
{
|
||||
"<leader>od",
|
||||
"<cmd>vsplit | lua vim.lsp.buf.definition()<cr>",
|
||||
desc = "Go to definition in other window",
|
||||
mode = "n",
|
||||
},
|
||||
{ "<leader>b", group = "+buffer", mode = "n" },
|
||||
{
|
||||
"<leader>bd",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue