init
This commit is contained in:
10
nvim/lua/plugins/extras/ui/block.lua
Normal file
10
nvim/lua/plugins/extras/ui/block.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
"HampusHauffman/block.nvim",
|
||||
keys = { { "<leader>uo", "<cmd>Block<CR>", desc = "Toggle Block" } },
|
||||
opts = {
|
||||
percent = 0.9,
|
||||
depth = 4,
|
||||
colors = nil,
|
||||
automatic = false,
|
||||
},
|
||||
}
|
||||
25
nvim/lua/plugins/extras/ui/breadcrumbs.lua
Normal file
25
nvim/lua/plugins/extras/ui/breadcrumbs.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
if vim.fn.has("nvim-0.10") == 1 then
|
||||
return {
|
||||
"Bekaboo/dropbar.nvim",
|
||||
event = "LazyFile",
|
||||
opts = {
|
||||
sources = {
|
||||
terminal = {
|
||||
name = "",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
else
|
||||
return {
|
||||
"utilyre/barbecue.nvim",
|
||||
name = "barbecue",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"SmiteshP/nvim-navic",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
event = "LazyFile",
|
||||
opts = {},
|
||||
}
|
||||
end
|
||||
23
nvim/lua/plugins/extras/ui/bufferline-extended.lua
Normal file
23
nvim/lua/plugins/extras/ui/bufferline-extended.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
local prefix = "<leader>b"
|
||||
|
||||
local keys = {}
|
||||
|
||||
-- stylua: ignore start
|
||||
table.insert(keys, { prefix .. "S", "<Cmd>BufferLineSortByDirectory<CR>", desc = "Sort By Directory" })
|
||||
table.insert(keys, { prefix .. "s", "<Cmd>BufferLineSortByExtension<CR>", desc = "Sort By Extensions" })
|
||||
|
||||
table.insert(keys, { prefix .. "<", "<cmd>BufferLineMovePrev<cr>", desc = "Move buffer prev" })
|
||||
table.insert(keys, { prefix .. ">", "<cmd>BufferLineMoveNext<cr>", desc = "Move buffer next" })
|
||||
-- stylua: ignore end
|
||||
|
||||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
keys = keys,
|
||||
opts = {
|
||||
options = {
|
||||
modified_icon = "",
|
||||
color_icons = true,
|
||||
separator_style = "slope",
|
||||
},
|
||||
},
|
||||
}
|
||||
27
nvim/lua/plugins/extras/ui/colorful-winsep.lua
Normal file
27
nvim/lua/plugins/extras/ui/colorful-winsep.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
"nvim-zh/colorful-winsep.nvim",
|
||||
event = { "WinNew", "WinLeave" },
|
||||
opts = {
|
||||
no_exec_files = {
|
||||
"packer",
|
||||
"TelescopePrompt",
|
||||
"CompetiTest",
|
||||
"netrw",
|
||||
"NvimTree",
|
||||
"lazy",
|
||||
"mason",
|
||||
"oil",
|
||||
"neo-tree",
|
||||
"symbols-outline",
|
||||
"vim-be-good",
|
||||
"oil",
|
||||
"outline",
|
||||
"trouble",
|
||||
"startuptime",
|
||||
"packer",
|
||||
"spectre",
|
||||
"alpha",
|
||||
"edgy",
|
||||
},
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/bamboo.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/bamboo.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"ribru17/bamboo.nvim",
|
||||
name = "bamboo",
|
||||
lazy = false,
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/boo.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/boo.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"rockerBOO/boo-colorscheme-nvim",
|
||||
name = "boo",
|
||||
lazy = false,
|
||||
}
|
||||
161
nvim/lua/plugins/extras/ui/colorschemes/catppuccin.lua
Normal file
161
nvim/lua/plugins/extras/ui/colorschemes/catppuccin.lua
Normal file
@@ -0,0 +1,161 @@
|
||||
local palette = require("catppuccin.palettes").get_palette("macchiato") -- Import your favorite catppuccin colors
|
||||
|
||||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
lazy = false,
|
||||
name = "catppuccin",
|
||||
opts = {
|
||||
styles = {
|
||||
comments = { "italic" },
|
||||
},
|
||||
background = {
|
||||
light = "latte",
|
||||
dark = "macchiato",
|
||||
},
|
||||
term_colors = true,
|
||||
custom_highlights = function()
|
||||
return {
|
||||
Visual = { bg = palette.surface2 },
|
||||
FloatermBorder = { fg = palette.base },
|
||||
TelescopeMatching = { fg = palette.blue },
|
||||
TelescopeSelection = { fg = palette.text, bg = palette.surface0, bold = true },
|
||||
TelescopePromptPrefix = { bg = palette.surface0 },
|
||||
TelescopePromptNormal = { bg = palette.surface0 },
|
||||
TelescopeResultsNormal = { bg = palette.mantle },
|
||||
TelescopePreviewNormal = { bg = palette.mantle },
|
||||
TelescopePromptBorder = { bg = palette.surface0, fg = palette.surface0 },
|
||||
TelescopeResultsBorder = { bg = palette.mantle, fg = palette.mantle },
|
||||
TelescopePreviewBorder = { bg = palette.mantle, fg = palette.mantle },
|
||||
TelescopePromptTitle = { bg = palette.red, fg = palette.mantle },
|
||||
TelescopeResultsTitle = { fg = palette.mantle },
|
||||
TelescopePreviewTitle = { bg = palette.green, fg = palette.mantle },
|
||||
}
|
||||
end,
|
||||
integrations = {
|
||||
alpha = true,
|
||||
cmp = true,
|
||||
barbecue = {
|
||||
dim_dirname = true, -- directory name is dimmed by default
|
||||
bold_basename = true,
|
||||
dim_context = false,
|
||||
alt_background = false,
|
||||
},
|
||||
colorful_winsep = {
|
||||
enabled = true,
|
||||
color = "lavender",
|
||||
},
|
||||
dap = true,
|
||||
dap_ui = true,
|
||||
dashboard = true,
|
||||
diffview = true,
|
||||
flash = true,
|
||||
headlines = true,
|
||||
gitsigns = true,
|
||||
grug_far = true,
|
||||
harpoon = false,
|
||||
illuminate = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
scope_color = "lavender", -- catppuccin color (eg. `lavender`) Default: text
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
render_markdown = true,
|
||||
mason = true,
|
||||
markdown = true,
|
||||
mini = true,
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" },
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" },
|
||||
},
|
||||
inlay_hints = {
|
||||
background = true,
|
||||
},
|
||||
},
|
||||
lsp_trouble = false,
|
||||
navic = { enabled = false, custom_bg = "lualine" },
|
||||
neotest = true,
|
||||
neogit = false,
|
||||
neotree = true,
|
||||
notify = true,
|
||||
noice = true,
|
||||
ufo = true,
|
||||
overseer = false,
|
||||
octo = false,
|
||||
rainbow_delimiters = true,
|
||||
semantic_tokens = true,
|
||||
snacks = true,
|
||||
telescope = {
|
||||
enabled = true,
|
||||
},
|
||||
symbols_outline = false,
|
||||
treesitter = true,
|
||||
treesitter_context = false,
|
||||
which_key = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"akinsho/bufferline.nvim",
|
||||
opts = {
|
||||
highlights = require("catppuccin.groups.integrations.bufferline").get({
|
||||
styles = { "italic", "bold" },
|
||||
custom = {
|
||||
all = {
|
||||
fill = {
|
||||
bg = palette.mantle,
|
||||
},
|
||||
separator_selected = {
|
||||
bg = palette.base,
|
||||
fg = palette.mantle,
|
||||
},
|
||||
separator = {
|
||||
bg = palette.mantle,
|
||||
fg = palette.mantle,
|
||||
},
|
||||
tab_separator = {
|
||||
bg = palette.mantle,
|
||||
fg = palette.mantle,
|
||||
},
|
||||
tab_selected = {
|
||||
bg = palette.base,
|
||||
},
|
||||
tab_separator_selected = {
|
||||
bg = palette.base,
|
||||
fg = palette.mantle,
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
{
|
||||
"rasulomaroff/reactive.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
load = { "catppuccin-macchiato-cursor", "catppuccin-macchiato-cursorline" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"rachartier/tiny-devicons-auto-colors.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
colors = palette,
|
||||
factors = {
|
||||
lightness = 0.9,
|
||||
chroma = 1,
|
||||
hue = 0.7,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
12
nvim/lua/plugins/extras/ui/colorschemes/cyberdream.lua
Normal file
12
nvim/lua/plugins/extras/ui/colorschemes/cyberdream.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
"scottmckendry/cyberdream.nvim",
|
||||
lazy = false,
|
||||
name = "cyberdream",
|
||||
opts = {
|
||||
transparent = true,
|
||||
italic_comments = true,
|
||||
hide_fillchars = true,
|
||||
borderless_telescope = true,
|
||||
terminal_colors = true,
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/doom-one.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/doom-one.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"NTBBloodbath/doom-one.nvim",
|
||||
lazy = false,
|
||||
name = "doom-one",
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/dracula.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/dracula.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"Mofiqul/dracula.nvim",
|
||||
lazy = false,
|
||||
name = "dracula",
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/edge.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/edge.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"sainnhe/edge",
|
||||
name = "edge",
|
||||
lazy = false,
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/everblush.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/everblush.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"Everblush/nvim",
|
||||
name = "everblush",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/everforest.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/everforest.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"sainnhe/everforest",
|
||||
lazy = false,
|
||||
name = "everforest",
|
||||
opts = {},
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"maxmx03/fluoromachine.nvim",
|
||||
lazy = false,
|
||||
name = "fluoromachine",
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/github.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/github.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"projekt0n/github-nvim-theme",
|
||||
lazy = false,
|
||||
name = "github",
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"sainnhe/gruvbox-material",
|
||||
name = "gruvbox-material",
|
||||
lazy = false,
|
||||
}
|
||||
27
nvim/lua/plugins/extras/ui/colorschemes/gruvbox.lua
Normal file
27
nvim/lua/plugins/extras/ui/colorschemes/gruvbox.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
lazy = false,
|
||||
name = "gruvbox",
|
||||
opts = {
|
||||
undercurl = true,
|
||||
underline = true,
|
||||
bold = true,
|
||||
italic = {
|
||||
strings = true,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
strikethrough = true,
|
||||
invert_selection = false,
|
||||
invert_signs = false,
|
||||
invert_tabline = false,
|
||||
invert_intend_guides = false,
|
||||
inverse = true, -- invert background for search, diffs, statuslines and errors
|
||||
contrast = "", -- can be "hard", "soft" or empty string
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = false,
|
||||
},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/helix.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/helix.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"oneslash/helix-nvim",
|
||||
lazy = false,
|
||||
name = "helix",
|
||||
opts = {},
|
||||
}
|
||||
23
nvim/lua/plugins/extras/ui/colorschemes/horizon.lua
Normal file
23
nvim/lua/plugins/extras/ui/colorschemes/horizon.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
return {
|
||||
"akinsho/horizon.nvim",
|
||||
lazy = false,
|
||||
name = "horizon",
|
||||
opts = {
|
||||
plugins = {
|
||||
cmp = true,
|
||||
indent_blankline = true,
|
||||
nvim_tree = true,
|
||||
telescope = true,
|
||||
which_key = true,
|
||||
barbar = true,
|
||||
notify = true,
|
||||
symbols_outline = true,
|
||||
neo_tree = true,
|
||||
gitsigns = true,
|
||||
crates = true,
|
||||
hop = true,
|
||||
navic = true,
|
||||
quickscope = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/hybrid.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/hybrid.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"HoNamDuong/hybrid.nvim",
|
||||
name = "hybrid",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/iceberg.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/iceberg.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"cocopon/iceberg.vim",
|
||||
lazy = false,
|
||||
name = "iceberg",
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/juliana.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/juliana.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"kaiuri/nvim-juliana",
|
||||
lazy = false,
|
||||
name = "juliana",
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/kanagawa.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/kanagawa.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"rebelot/kanagawa.nvim",
|
||||
lazy = false,
|
||||
name = "kanagawa",
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/material.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/material.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"marko-cerovac/material.nvim",
|
||||
lazy = false,
|
||||
name = "material",
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/melange.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/melange.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"savq/melange-nvim",
|
||||
lazy = false,
|
||||
name = "melange",
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/mellifluous.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/mellifluous.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"ramojus/mellifluous.nvim",
|
||||
name = "mellifluous",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/miasma.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/miasma.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"xero/miasma.nvim",
|
||||
name = "miasma",
|
||||
lazy = false,
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/mini-base16.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/mini-base16.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"echasnovski/mini.base16",
|
||||
lazy = false,
|
||||
name = "base16",
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/modus.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/modus.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"miikanissi/modus-themes.nvim",
|
||||
name = "modus",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
16
nvim/lua/plugins/extras/ui/colorschemes/monokai-pro.lua
Normal file
16
nvim/lua/plugins/extras/ui/colorschemes/monokai-pro.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
"loctvl842/monokai-pro.nvim",
|
||||
lazy = false,
|
||||
name = "monokai-pro",
|
||||
opts = {
|
||||
terminal_colors = true,
|
||||
devicons = true, -- highlight the icons of `nvim-web-devicons`
|
||||
filter = "pro", -- classic | octagon | pro | machine | ristretto | spectrum
|
||||
plugins = {
|
||||
indent_blankline = {
|
||||
context_highlight = "pro", -- default | pro
|
||||
context_start_underline = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/moonfly.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/moonfly.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"bluz71/vim-moonfly-colors",
|
||||
name = "moonfly",
|
||||
lazy = false,
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/moonlight.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/moonlight.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"shaunsingh/moonlight.nvim",
|
||||
name = "moonlight",
|
||||
lazy = false,
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/neosolarized.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/neosolarized.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"Tsuzat/NeoSolarized.nvim",
|
||||
lazy = false,
|
||||
name = "solarized",
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/nightfly.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/nightfly.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"bluz71/vim-nightfly-colors",
|
||||
name = "nightfly",
|
||||
lazy = false,
|
||||
}
|
||||
13
nvim/lua/plugins/extras/ui/colorschemes/nightfox.lua
Normal file
13
nvim/lua/plugins/extras/ui/colorschemes/nightfox.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"EdenEast/nightfox.nvim",
|
||||
lazy = false,
|
||||
name = "nightfox",
|
||||
opts = {
|
||||
options = {},
|
||||
groups = {
|
||||
all = {
|
||||
MatchParen = { fg = "NONE" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/nord.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/nord.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"shaunsingh/nord.nvim",
|
||||
lazy = false,
|
||||
name = "nord",
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/nordic.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/nordic.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"AlexvZyl/nordic.nvim",
|
||||
lazy = false,
|
||||
name = "nordic",
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/nvimgelion.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/nvimgelion.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"nyngwang/nvimgelion",
|
||||
name = "nvimgelion",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/oceanic.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/oceanic.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"mhartington/oceanic-next",
|
||||
name = "oceanic-next",
|
||||
lazy = false,
|
||||
}
|
||||
44
nvim/lua/plugins/extras/ui/colorschemes/onedark.lua
Normal file
44
nvim/lua/plugins/extras/ui/colorschemes/onedark.lua
Normal file
@@ -0,0 +1,44 @@
|
||||
return {
|
||||
"navarasu/onedark.nvim",
|
||||
lazy = false,
|
||||
name = "onedark",
|
||||
opts = {
|
||||
-- Main options --
|
||||
style = "dark", -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light'
|
||||
transparent = false, -- Show/hide background
|
||||
term_colors = true, -- Change terminal color as per the selected theme style
|
||||
ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden
|
||||
cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu
|
||||
|
||||
-- toggle theme style ---
|
||||
toggle_style_key = nil, -- keybind to toggle theme style. Leave it nil to disable it, or set it to a string, for example "<leader>ts"
|
||||
toggle_style_list = { "dark", "darker", "cool", "deep", "warm", "warmer", "light" }, -- List of styles to toggle between
|
||||
|
||||
-- Change code style ---
|
||||
-- Options are italic, bold, underline, none
|
||||
-- You can configure multiple style with comma seperated, For e.g., keywords = 'italic,bold'
|
||||
code_style = {
|
||||
comments = "italic",
|
||||
keywords = "none",
|
||||
functions = "none",
|
||||
strings = "none",
|
||||
variables = "none",
|
||||
},
|
||||
|
||||
-- Lualine options --
|
||||
lualine = {
|
||||
transparent = false, -- lualine center bar transparency
|
||||
},
|
||||
|
||||
-- Custom Highlights --
|
||||
colors = {}, -- Override default colors
|
||||
highlights = {}, -- Override highlight groups
|
||||
|
||||
-- Plugins Config --
|
||||
diagnostics = {
|
||||
darker = true, -- darker colors for diagnostic
|
||||
undercurl = true, -- use undercurl instead of underline for diagnostics
|
||||
background = true, -- use background color for virtual text
|
||||
},
|
||||
},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/onedarkpro.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/onedarkpro.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"olimorris/onedarkpro.nvim",
|
||||
lazy = false,
|
||||
name = "onedarkpro",
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/onenord.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/onenord.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"rmehri01/onenord.nvim",
|
||||
name = "onenord",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/oxocarbon.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/oxocarbon.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"nyoom-engineering/oxocarbon.nvim",
|
||||
lazy = false,
|
||||
name = "oxocarbon",
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/poimandres.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/poimandres.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"olivercederborg/poimandres.nvim",
|
||||
lazy = false,
|
||||
name = "poimandres",
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/rasmus.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/rasmus.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"kvrohit/rasmus.nvim",
|
||||
name = "rasmus",
|
||||
lazy = false,
|
||||
}
|
||||
10
nvim/lua/plugins/extras/ui/colorschemes/rose-pine.lua
Normal file
10
nvim/lua/plugins/extras/ui/colorschemes/rose-pine.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
"rose-pine/neovim",
|
||||
lazy = false,
|
||||
name = "rose-pine",
|
||||
opts = {
|
||||
highlight_groups = {
|
||||
EndOfBuffer = { fg = "base" },
|
||||
},
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/sherbet.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/sherbet.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"lewpoly/sherbet.nvim",
|
||||
name = "sherbet",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"craftzdog/solarized-osaka.nvim",
|
||||
name = "solarized-osaka",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/sonokai.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/sonokai.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"sainnhe/sonokai",
|
||||
lazy = false,
|
||||
name = "sonokai",
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/synthweave.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/synthweave.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"samharju/synthweave.nvim",
|
||||
name = "synthweave",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
35
nvim/lua/plugins/extras/ui/colorschemes/tokyonight.lua
Normal file
35
nvim/lua/plugins/extras/ui/colorschemes/tokyonight.lua
Normal file
@@ -0,0 +1,35 @@
|
||||
return {
|
||||
"folke/tokyonight.nvim",
|
||||
name = "tokyonight",
|
||||
lazy = false,
|
||||
opts = {
|
||||
style = "storm", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
|
||||
light_style = "day", -- The theme is used when the background is set to light
|
||||
transparent = false, -- Enable this to disable setting the background color
|
||||
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
|
||||
styles = {
|
||||
-- Style to be applied to different syntax groups
|
||||
-- Value is any valid attr-list value for `:help nvim_set_hl`
|
||||
comments = { italic = true },
|
||||
keywords = { italic = true },
|
||||
functions = {},
|
||||
variables = {},
|
||||
-- Background styles. Can be "dark", "transparent" or "normal"
|
||||
sidebars = "dark", -- style for sidebars, see below
|
||||
floats = "dark", -- style for floating windows
|
||||
},
|
||||
sidebars = { "qf", "help" }, -- Set a darker background on sidebar-like windows. For example: `["qf", "vista_kind", "terminal", "packer"]`
|
||||
day_brightness = 0.3, -- Adjusts the brightness of the colors of the **Day** style. Number between 0 and 1, from dull to vibrant colors
|
||||
hide_inactive_statusline = false, -- Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine** and **LuaLine**.
|
||||
dim_inactive = false, -- dims inactive windows
|
||||
lualine_bold = false, -- When `true`, section headers in the lualine theme will be bold
|
||||
|
||||
--- You can override specific color groups to use other groups or a hex color
|
||||
--- function will be called with a ColorScheme table
|
||||
on_colors = function(colors) end,
|
||||
|
||||
--- You can override specific highlights to use other groups or a hex color
|
||||
--- function will be called with a Highlights and ColorScheme table
|
||||
on_highlights = function(highlights, colors) end,
|
||||
},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/vscode.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/vscode.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"Mofiqul/vscode.nvim",
|
||||
lazy = false,
|
||||
name = "vscode",
|
||||
opts = {},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/colorschemes/zenbones.lua
Normal file
6
nvim/lua/plugins/extras/ui/colorschemes/zenbones.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"mcchrish/zenbones.nvim",
|
||||
name = "zenbones",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/colorschemes/zephyrium.lua
Normal file
5
nvim/lua/plugins/extras/ui/colorschemes/zephyrium.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"titanzero/zephyrium",
|
||||
name = "zephyrium",
|
||||
lazy = false,
|
||||
}
|
||||
26
nvim/lua/plugins/extras/ui/comment-box.lua
Normal file
26
nvim/lua/plugins/extras/ui/comment-box.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
local prefix = "<leader>ac"
|
||||
|
||||
return {
|
||||
{
|
||||
"LudoPinelli/comment-box.nvim",
|
||||
opts = {},
|
||||
vscode = true,
|
||||
keys = {
|
||||
{ prefix .. "b", "<cmd>CBccbox<CR>", mode = { "n", "v" }, desc = "Comment Box" },
|
||||
{ prefix .. "t", "<cmd>CBllline<CR>", mode = { "n", "v" }, desc = "Tiled Line" },
|
||||
{ prefix .. "l", "<cmd>CBline<CR>", desc = "Line" },
|
||||
{ prefix .. "m", "<cmd>CBllbox14<CR>", mode = { "n", "v" }, desc = "Marked" },
|
||||
{ prefix .. "c", "<cmd>CBcatalog<CR>", desc = "Catalog" },
|
||||
{ prefix .. "d", "<cmd>CBd<CR>", mode = { "n", "v" }, desc = "Delete Comment Style" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
spec = {
|
||||
{ "<leader>A", group = "annotation/snippets", icon = " " },
|
||||
{ prefix, group = "comments", icon = " " },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
17
nvim/lua/plugins/extras/ui/context.lua
Normal file
17
nvim/lua/plugins/extras/ui/context.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
return {
|
||||
"haringsrob/nvim_context_vt",
|
||||
event = "LazyFile",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
prefix = " ",
|
||||
highlight = "NonText",
|
||||
min_rows = 7,
|
||||
disable_ft = { "markdown", "css" },
|
||||
-- Disable display of virtual text below blocks for indentation based
|
||||
-- languages like Python
|
||||
disable_virtual_lines_ft = { "yaml" },
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>ux", "<cmd>NvimContextVtToggle<CR>", desc = "Toggle Context" },
|
||||
},
|
||||
}
|
||||
22
nvim/lua/plugins/extras/ui/dashboard-extended.lua
Normal file
22
nvim/lua/plugins/extras/ui/dashboard-extended.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
{ import = "lazyvim.plugins.extras.ui.dashboard" },
|
||||
{
|
||||
"nvimdev/dashboard-nvim",
|
||||
opts = function(_, opts)
|
||||
local logo = [[
|
||||
|
||||
████ ██████ █████ ██
|
||||
███████████ █████
|
||||
█████████ ███████████████████ ███ ███████████
|
||||
█████████ ███ █████████████ █████ ██████████████
|
||||
█████████ ██████████ █████████ █████ █████ ████ █████
|
||||
███████████ ███ ███ █████████ █████ █████ ████ █████
|
||||
██████ █████████████████████ ████ █████ █████ ████ ██████
|
||||
]]
|
||||
|
||||
logo = string.rep("\n", 8) .. logo .. "\n\n"
|
||||
opts.config.header = vim.split(logo, "\n")
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/diagflow.lua
Normal file
5
nvim/lua/plugins/extras/ui/diagflow.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"dgagn/diagflow.nvim",
|
||||
event = "LspAttach",
|
||||
opts = {},
|
||||
}
|
||||
9
nvim/lua/plugins/extras/ui/edgy-extended.lua
Normal file
9
nvim/lua/plugins/extras/ui/edgy-extended.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
{ import = "lazyvim.plugins.extras.ui.edgy" },
|
||||
{
|
||||
"folke/edgy.nvim",
|
||||
opts = {
|
||||
animate = { enabled = false },
|
||||
},
|
||||
},
|
||||
}
|
||||
18
nvim/lua/plugins/extras/ui/fidget.lua
Normal file
18
nvim/lua/plugins/extras/ui/fidget.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
{
|
||||
"j-hui/fidget.nvim",
|
||||
event = "LspAttach",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
lsp = {
|
||||
progress = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/helpview.lua
Normal file
5
nvim/lua/plugins/extras/ui/helpview.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"OXY2DEV/helpview.nvim",
|
||||
ft = "help",
|
||||
opts = {},
|
||||
}
|
||||
9
nvim/lua/plugins/extras/ui/highlight-colors.lua
Normal file
9
nvim/lua/plugins/extras/ui/highlight-colors.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
"brenoprata10/nvim-highlight-colors",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>uc", function() require("nvim-highlight-colors").toggle() end, desc = "Toggle Highlight Colors" },
|
||||
},
|
||||
}
|
||||
8
nvim/lua/plugins/extras/ui/highlight-undo.lua
Normal file
8
nvim/lua/plugins/extras/ui/highlight-undo.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"tzachar/highlight-undo.nvim",
|
||||
event = "LazyFile",
|
||||
vscode = true,
|
||||
opts = {
|
||||
duration = 700,
|
||||
},
|
||||
}
|
||||
36
nvim/lua/plugins/extras/ui/image.lua
Normal file
36
nvim/lua/plugins/extras/ui/image.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
return {
|
||||
"3rd/image.nvim",
|
||||
event = "LazyFile",
|
||||
dependencies = {
|
||||
{ "nvim-treesitter/nvim-treesitter" },
|
||||
},
|
||||
opts = {
|
||||
backend = "kitty",
|
||||
integrations = {
|
||||
markdown = {
|
||||
enabled = true,
|
||||
clear_in_insert_mode = false,
|
||||
download_remote_images = true,
|
||||
only_render_image_at_cursor = false,
|
||||
filetypes = { "markdown", "vimwiki" }, -- markdown extensions (ie. quarto) can go here
|
||||
},
|
||||
neorg = {
|
||||
enabled = true,
|
||||
clear_in_insert_mode = false,
|
||||
download_remote_images = true,
|
||||
only_render_image_at_cursor = false,
|
||||
filetypes = { "norg" },
|
||||
},
|
||||
},
|
||||
max_width = nil,
|
||||
max_height = nil,
|
||||
max_width_window_percentage = nil,
|
||||
max_height_window_percentage = 50,
|
||||
kitty_method = "normal",
|
||||
window_overlap_clear_enabled = true, -- toggles images when windows are overlapped
|
||||
window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "" },
|
||||
editor_only_render_when_focused = false, -- auto show/hide images when the editor gains/looses focus
|
||||
tmux_show_only_in_active_window = true, -- auto show/hide images in the correct Tmux window (needs visual-activity off)
|
||||
hijack_file_patterns = { "*.png", "*.jpg", "*.jpeg", "*.gif", "*.webp" }, -- render image files as images when opened
|
||||
},
|
||||
}
|
||||
7
nvim/lua/plugins/extras/ui/img-clip.lua
Normal file
7
nvim/lua/plugins/extras/ui/img-clip.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"HakonHarnes/img-clip.nvim",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "<leader>P", "<cmd>PasteImage<cr>", desc = "Paste Clipboard Image" },
|
||||
},
|
||||
}
|
||||
6
nvim/lua/plugins/extras/ui/import-cost.lua
Normal file
6
nvim/lua/plugins/extras/ui/import-cost.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"barrett-ruth/import-cost.nvim",
|
||||
build = "sh install.sh npm",
|
||||
event = "LazyFile",
|
||||
config = true,
|
||||
}
|
||||
28
nvim/lua/plugins/extras/ui/inline-fold.lua
Normal file
28
nvim/lua/plugins/extras/ui/inline-fold.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
"malbertzard/inline-fold.nvim",
|
||||
init = function()
|
||||
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
||||
pattern = { "*.html", "*.tsx", "*.jsx" },
|
||||
callback = function(_)
|
||||
if not require("inline-fold.module").isHidden then
|
||||
vim.cmd("InlineFoldToggle")
|
||||
end
|
||||
end,
|
||||
})
|
||||
end,
|
||||
ft = "html",
|
||||
cmd = "InlineFoldToggle",
|
||||
opts = {
|
||||
defaultPlaceholder = "…",
|
||||
queries = {
|
||||
html = {
|
||||
{ pattern = 'class="([^"]*)"' },
|
||||
{ pattern = 'href="(.-)"' },
|
||||
{ pattern = 'src="(.-)"' },
|
||||
},
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>uI", "<cmd>InlineFoldToggle<CR>", desc = "Toggle Inline Fold" },
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/log-highlight.lua
Normal file
5
nvim/lua/plugins/extras/ui/log-highlight.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"fei6409/log-highlight.nvim",
|
||||
ft = "log",
|
||||
opts = {},
|
||||
}
|
||||
63
nvim/lua/plugins/extras/ui/lualine-extended.lua
Normal file
63
nvim/lua/plugins/extras/ui/lualine-extended.lua
Normal file
@@ -0,0 +1,63 @@
|
||||
local formatter = function()
|
||||
local formatters = require("conform").list_formatters(0)
|
||||
if #formatters == 0 then
|
||||
return ""
|
||||
end
|
||||
|
||||
return " "
|
||||
end
|
||||
|
||||
local linter = function()
|
||||
local linters = require("lint").linters_by_ft[vim.bo.filetype]
|
||||
if #linters == 0 then
|
||||
return ""
|
||||
end
|
||||
|
||||
return " "
|
||||
end
|
||||
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.options.component_separators = { left = "", right = "" }
|
||||
opts.options.section_separators = { left = "", right = "" }
|
||||
|
||||
opts.sections.lualine_a = { { "mode", icon = "" } }
|
||||
opts.sections.lualine_c[4] = {
|
||||
LazyVim.lualine.pretty_path({
|
||||
filename_hl = "Bold",
|
||||
modified_hl = "MatchParen",
|
||||
directory_hl = "Conceal",
|
||||
}),
|
||||
}
|
||||
|
||||
if vim.g.lualine_info_extras == true then
|
||||
table.insert(opts.sections.lualine_x, 2, { "lsp_status" })
|
||||
table.insert(opts.sections.lualine_x, 2, formatter)
|
||||
table.insert(opts.sections.lualine_x, 2, linter)
|
||||
end
|
||||
|
||||
opts.sections.lualine_y = { "progress" }
|
||||
opts.sections.lualine_z = {
|
||||
{ "location", separator = "" },
|
||||
{
|
||||
function()
|
||||
return ""
|
||||
end,
|
||||
padding = { left = 0, right = 1 },
|
||||
},
|
||||
}
|
||||
opts.extensions = {
|
||||
"lazy",
|
||||
"man",
|
||||
"mason",
|
||||
"nvim-dap-ui",
|
||||
"overseer",
|
||||
"quickfix",
|
||||
"toggleterm",
|
||||
"trouble",
|
||||
"neo-tree",
|
||||
"symbols-outline",
|
||||
}
|
||||
end,
|
||||
}
|
||||
22
nvim/lua/plugins/extras/ui/minimap.lua
Normal file
22
nvim/lua/plugins/extras/ui/minimap.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"echasnovski/mini.map",
|
||||
opts = function()
|
||||
local map = require("mini.map")
|
||||
return {
|
||||
symbols = {
|
||||
encode = require("mini.map").gen_encode_symbols.dot("4x2"),
|
||||
},
|
||||
integrations = {
|
||||
map.gen_integration.builtin_search(),
|
||||
map.gen_integration.gitsigns(),
|
||||
map.gen_integration.diagnostic(),
|
||||
},
|
||||
window = {
|
||||
show_integration_count = false,
|
||||
},
|
||||
}
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>um", "<Cmd>lua MiniMap.toggle()<CR>", desc = "Toggle Minimap" },
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/modes.lua
Normal file
5
nvim/lua/plugins/extras/ui/modes.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"mvllow/modes.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
}
|
||||
11
nvim/lua/plugins/extras/ui/modicator.lua
Normal file
11
nvim/lua/plugins/extras/ui/modicator.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
"mawkler/modicator.nvim",
|
||||
event = "LazyFile",
|
||||
init = function()
|
||||
-- These are required for Modicator to work
|
||||
vim.o.cursorline = true
|
||||
vim.o.number = true
|
||||
vim.o.termguicolors = true
|
||||
end,
|
||||
opts = {},
|
||||
}
|
||||
16
nvim/lua/plugins/extras/ui/noice-extended.lua
Normal file
16
nvim/lua/plugins/extras/ui/noice-extended.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
"folke/noice.nvim",
|
||||
opts = function(_, opts)
|
||||
table.insert(opts.routes, {
|
||||
filter = {
|
||||
event = "notify",
|
||||
find = "No information available",
|
||||
},
|
||||
opts = {
|
||||
skip = true,
|
||||
},
|
||||
})
|
||||
opts.presets.lsp_doc_border = true
|
||||
opts.presets.bottom_search = false
|
||||
end,
|
||||
}
|
||||
7
nvim/lua/plugins/extras/ui/rainbow-delimeters.lua
Normal file
7
nvim/lua/plugins/extras/ui/rainbow-delimeters.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
event = "LazyFile",
|
||||
config = function()
|
||||
require("rainbow-delimiters.setup").setup()
|
||||
end,
|
||||
}
|
||||
8
nvim/lua/plugins/extras/ui/reactive.lua
Normal file
8
nvim/lua/plugins/extras/ui/reactive.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"rasulomaroff/reactive.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "<leader>uM", "<cmd>ReactiveToggle<cr>", desc = "Mode Lines" },
|
||||
},
|
||||
}
|
||||
28
nvim/lua/plugins/extras/ui/scrollbar.lua
Normal file
28
nvim/lua/plugins/extras/ui/scrollbar.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
local excluded_filetypes = { "neo-tree", "alpha", "Outline", "edgy", "floaterm" }
|
||||
|
||||
if vim.fn.has("nvim-0.10") == 1 then
|
||||
return {
|
||||
"lewis6991/satellite.nvim",
|
||||
opts = {
|
||||
excluded_filetypes = excluded_filetypes,
|
||||
},
|
||||
event = "LazyFile",
|
||||
}
|
||||
else
|
||||
return {
|
||||
"dstein64/nvim-scrollview",
|
||||
event = "LazyFile",
|
||||
keys = { { "<leader>uV", "<cmd>ScrollViewToggle<CR>", desc = "Toggle Scrollview" } },
|
||||
config = function()
|
||||
require("scrollview").setup({
|
||||
excluded_filetypes = excluded_filetypes,
|
||||
signs_column = 0,
|
||||
winblend = 25,
|
||||
diagnostics_error_symbol = "",
|
||||
diagnostics_warn_symbol = "",
|
||||
diagnostics_info_symbol = "",
|
||||
diagnostics_hint_symbol = "",
|
||||
})
|
||||
end,
|
||||
}
|
||||
end
|
||||
8
nvim/lua/plugins/extras/ui/showkeys.lua
Normal file
8
nvim/lua/plugins/extras/ui/showkeys.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"nvchad/showkeys",
|
||||
cmd = "ShowkeysToggle",
|
||||
opts = {
|
||||
timeout = 1,
|
||||
maxkeys = 8,
|
||||
},
|
||||
}
|
||||
26
nvim/lua/plugins/extras/ui/smooth-scrolling.lua
Normal file
26
nvim/lua/plugins/extras/ui/smooth-scrolling.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
return {
|
||||
"declancm/cinnamon.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("cinnamon").setup({
|
||||
options = {
|
||||
delay = 5,
|
||||
},
|
||||
})
|
||||
|
||||
local keymaps = {
|
||||
["<C-u>"] = "<C-u>zz",
|
||||
["<C-d>"] = "<C-d>zz",
|
||||
["n"] = "nzzzv",
|
||||
["N"] = "Nzzzv",
|
||||
}
|
||||
|
||||
local scroll = require("cinnamon").scroll
|
||||
|
||||
for key, value in pairs(keymaps) do
|
||||
vim.keymap.set("n", key, function()
|
||||
scroll(value)
|
||||
end)
|
||||
end
|
||||
end,
|
||||
}
|
||||
8
nvim/lua/plugins/extras/ui/specs.lua
Normal file
8
nvim/lua/plugins/extras/ui/specs.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"edluffy/specs.nvim",
|
||||
opts = {},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<C-b>", function() require("specs").show_specs() end, desc = "Specs" },
|
||||
},
|
||||
}
|
||||
38
nvim/lua/plugins/extras/ui/status-column.lua
Normal file
38
nvim/lua/plugins/extras/ui/status-column.lua
Normal file
@@ -0,0 +1,38 @@
|
||||
return {
|
||||
{
|
||||
"luukvbaal/statuscol.nvim",
|
||||
event = { "LazyFile" },
|
||||
opts = function()
|
||||
local builtin = require("statuscol.builtin")
|
||||
return {
|
||||
ft_ignore = { "neo-tree", "neo-tree-popup", "alpha", "lazy", "mason", "dashboard" },
|
||||
segments = {
|
||||
{ text = { builtin.lnumfunc }, click = "v:lua.ScLa" },
|
||||
{
|
||||
sign = { name = { "Diagnostic*" }, text = { ".*" }, maxwidth = 1, colwidth = 1, auto = true },
|
||||
click = "v:lua.ScSa",
|
||||
},
|
||||
{ text = { builtin.foldfunc, " " }, click = "v:lua.ScFa" },
|
||||
},
|
||||
}
|
||||
end,
|
||||
config = function(_, opts)
|
||||
require("statuscol").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
opts = {
|
||||
signs = {
|
||||
add = { text = "┃" },
|
||||
change = { text = "┃" },
|
||||
delete = { text = "" },
|
||||
topdelete = { text = "" },
|
||||
changedelete = { text = "┃" },
|
||||
untracked = { text = "┇" },
|
||||
},
|
||||
signcolumn = true,
|
||||
numhl = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
8
nvim/lua/plugins/extras/ui/sunglasses.lua
Normal file
8
nvim/lua/plugins/extras/ui/sunglasses.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"miversen33/sunglasses.nvim",
|
||||
event = "UIEnter",
|
||||
opts = {
|
||||
filter_type = "SHADE",
|
||||
filter_percent = 0.85,
|
||||
},
|
||||
}
|
||||
17
nvim/lua/plugins/extras/ui/theme-loader.lua
Normal file
17
nvim/lua/plugins/extras/ui/theme-loader.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
return {
|
||||
{
|
||||
"rafi/theme-loader.nvim",
|
||||
lazy = false,
|
||||
priority = 999,
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
config = function(_, opts)
|
||||
opts = opts or {}
|
||||
-- disable the colorscheme
|
||||
opts.colorscheme = function() end
|
||||
require("lazyvim").setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
5
nvim/lua/plugins/extras/ui/tiny-inline-diagnostic.lua
Normal file
5
nvim/lua/plugins/extras/ui/tiny-inline-diagnostic.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"rachartier/tiny-inline-diagnostic.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
}
|
||||
7
nvim/lua/plugins/extras/ui/transparent.lua
Normal file
7
nvim/lua/plugins/extras/ui/transparent.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"xiyaowong/nvim-transparent",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "<leader>uP", "<Cmd>TransparentToggle<CR>", desc = "Toggle Transparent" },
|
||||
},
|
||||
}
|
||||
13
nvim/lua/plugins/extras/ui/which-key-extended.lua
Normal file
13
nvim/lua/plugins/extras/ui/which-key-extended.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
-- preset = "classic",
|
||||
icons = {
|
||||
group = "",
|
||||
},
|
||||
spec = {
|
||||
{ "<leader>ci", group = "info", icon = " " },
|
||||
{ "<leader>l", group = "lazy", icon = " " },
|
||||
},
|
||||
},
|
||||
}
|
||||
14
nvim/lua/plugins/extras/ui/windows.lua
Normal file
14
nvim/lua/plugins/extras/ui/windows.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
"anuvyklack/windows.nvim",
|
||||
event = "WinNew",
|
||||
dependencies = {
|
||||
{ "anuvyklack/middleclass" },
|
||||
{ "anuvyklack/animation.nvim" },
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>wv", "<cmd>WindowsMaximizeVertically<cr>", desc = "Vertical Zoom" },
|
||||
{ "<leader>wh", "<cmd>WindowsMaximizeHorizontally<cr>", desc = "Horizontal Zoom" },
|
||||
{ "<leader>we", "<cmd>WindowsEqualize<cr>", desc = "Equalize Zoom" },
|
||||
},
|
||||
opts = {},
|
||||
}
|
||||
43
nvim/lua/plugins/extras/ui/zen-mode.lua
Normal file
43
nvim/lua/plugins/extras/ui/zen-mode.lua
Normal file
@@ -0,0 +1,43 @@
|
||||
local executeCommandIfExists = function(command)
|
||||
if vim.fn.exists(command) ~= 0 then
|
||||
vim.cmd(command)
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
{
|
||||
"folke/zen-mode.nvim",
|
||||
cmd = "ZenMode",
|
||||
keys = { { "<leader>z", "<cmd>ZenMode<cr>", desc = "Zen Mode" } },
|
||||
opts = {
|
||||
on_open = function(_)
|
||||
vim.opt.laststatus = 0
|
||||
executeCommandIfExists(":SatelliteDisable")
|
||||
executeCommandIfExists(":ScrollViewDisable")
|
||||
executeCommandIfExists(":LspLensOff")
|
||||
executeCommandIfExists(":NvimContextVtToggle")
|
||||
executeCommandIfExists(":IBLDisable")
|
||||
LazyVim.toggle.inlay_hints()
|
||||
executeCommandIfExists(":Gitsigns toggle_current_line_blame")
|
||||
executeCommandIfExists(":CccHighlighterDisable")
|
||||
end,
|
||||
on_close = function()
|
||||
vim.opt.laststatus = 3
|
||||
executeCommandIfExists(":SatelliteEnable")
|
||||
executeCommandIfExists(":ScrollViewEnable")
|
||||
executeCommandIfExists(":LspLensOn")
|
||||
executeCommandIfExists(":NvimContextVtToggle")
|
||||
executeCommandIfExists(":IBLEnable")
|
||||
LazyVim.toggle.inlay_hints()
|
||||
executeCommandIfExists(":Gitsigns toggle_current_line_blame")
|
||||
executeCommandIfExists(":CccHighlighterEnable")
|
||||
end,
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/twilight.nvim",
|
||||
cmd = "Twilight",
|
||||
keys = { { "<leader>Z", "<cmd>Twilight<cr>", desc = "Zen Twilight" } },
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user