This commit is contained in:
sankalp committed 2023-12-30 21:19:06 +05:45
commit 0cbbf662e3
473 files changed
+40489

No files matched your search

@@ -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,
},
}
@@ -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
@@ -0,0 +1,6 @@
return {
"scottmckendry/cyberdream.nvim",
lazy = false,
name = "cyberdream",
opts = {},
}
@@ -0,0 +1,5 @@
return {
"NTBBloodbath/doom-one.nvim",
lazy = false,
name = "doom-one",
}
@@ -0,0 +1,6 @@
return {
"Mofiqul/dracula.nvim",
lazy = false,
name = "dracula",
opts = {},
}
@@ -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 = {},
}
@@ -0,0 +1,5 @@
return {
"projekt0n/github-nvim-theme",
lazy = false,
name = "github",
}
@@ -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,
},
}
@@ -0,0 +1,6 @@
return {
"oneslash/helix-nvim",
lazy = false,
name = "helix",
opts = {},
}
@@ -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,
},
},
}
@@ -0,0 +1,5 @@
return {
"cocopon/iceberg.vim",
lazy = false,
name = "iceberg",
}
@@ -0,0 +1,5 @@
return {
"kaiuri/nvim-juliana",
lazy = false,
name = "juliana",
}
@@ -0,0 +1,6 @@
return {
"rebelot/kanagawa.nvim",
lazy = false,
name = "kanagawa",
opts = {},
}
@@ -0,0 +1,6 @@
return {
"marko-cerovac/material.nvim",
lazy = false,
name = "material",
opts = {},
}
@@ -0,0 +1,5 @@
return {
"savq/melange-nvim",
lazy = false,
name = "melange",
}
@@ -0,0 +1,5 @@
return {
"echasnovski/mini.base16",
lazy = false,
name = "base16",
}
@@ -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,
},
},
},
}
@@ -0,0 +1,5 @@
return {
"Tsuzat/NeoSolarized.nvim",
lazy = false,
name = "solarized",
}
@@ -0,0 +1,5 @@
return {
"bluz71/vim-nightfly-colors",
name = "nightfly",
lazy = false,
}
@@ -0,0 +1,13 @@
return {
"EdenEast/nightfox.nvim",
lazy = false,
name = "nightfox",
opts = {
options = {},
groups = {
all = {
MatchParen = { fg = "NONE" },
},
},
},
}
@@ -0,0 +1,5 @@
return {
"shaunsingh/nord.nvim",
lazy = false,
name = "nord",
}
@@ -0,0 +1,6 @@
return {
"AlexvZyl/nordic.nvim",
lazy = false,
name = "nordic",
opts = {},
}
@@ -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
},
},
}
@@ -0,0 +1,6 @@
return {
"olimorris/onedarkpro.nvim",
lazy = false,
name = "onedarkpro",
opts = {},
}
@@ -0,0 +1,5 @@
return {
"nyoom-engineering/oxocarbon.nvim",
lazy = false,
name = "oxocarbon",
}
@@ -0,0 +1,6 @@
return {
"olivercederborg/poimandres.nvim",
lazy = false,
name = "poimandres",
opts = {},
}
@@ -0,0 +1,10 @@
return {
"rose-pine/neovim",
lazy = false,
name = "rose-pine",
opts = {
highlight_groups = {
EndOfBuffer = { fg = "base" },
},
},
}
@@ -0,0 +1,6 @@
return {
"sainnhe/sonokai",
lazy = false,
name = "sonokai",
opts = {},
}
@@ -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,
},
}
@@ -0,0 +1,6 @@
return {
"Mofiqul/vscode.nvim",
lazy = false,
name = "vscode",
opts = {},
}
@@ -0,0 +1,5 @@
return {
"LudoPinelli/comment-box.nvim",
event = "LazyFile",
opts = {},
}
@@ -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" },
},
}
+115
View File
@@ -0,0 +1,115 @@
return {
{
"lewis6991/gitsigns.nvim",
opts = {
signs = {
add = { text = "┃" },
change = { text = "┃" },
delete = { text = "󱈸" },
topdelete = { text = "󱈸" },
changedelete = { text = "┃" },
untracked = { text = "┇" },
},
signcolumn = true,
numhl = true,
},
},
{
"neovim/nvim-lspconfig",
init = function()
local keys = require("lazyvim.plugins.lsp.keymaps").get()
keys[#keys + 1] = { "K", false }
end,
},
{ -- better statuscolumn
"luukvbaal/statuscol.nvim",
event = { "LazyFile" },
opts = function()
local builtin = require("statuscol.builtin")
return {
ft_ignore = { "neo-tree", "neo-tree-popup", "alpha", "lazy", "mason" },
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,
init = function() end,
config = function(_, opts)
require("statuscol").setup(opts)
end,
},
{ -- better fold
"kevinhwang91/nvim-ufo",
event = { "LazyFile" },
dependencies = { "kevinhwang91/promise-async" },
init = function()
vim.o.foldcolumn = "1"
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
end,
opts = function()
local handler = function(virtText, lnum, endLnum, width, truncate)
local newVirtText = {}
local suffix = (" ... 󰁂 %d "):format(endLnum - lnum)
local sufWidth = vim.fn.strdisplaywidth(suffix)
local targetWidth = width - sufWidth
local curWidth = 0
for _, chunk in ipairs(virtText) do
local chunkText = chunk[1]
local chunkWidth = vim.fn.strdisplaywidth(chunkText)
if targetWidth > curWidth + chunkWidth then
table.insert(newVirtText, chunk)
else
chunkText = truncate(chunkText, targetWidth - curWidth)
local hlGroup = chunk[2]
table.insert(newVirtText, { chunkText, hlGroup })
chunkWidth = vim.fn.strdisplaywidth(chunkText)
-- str width returned from truncate() may less than 2nd argument, need padding
if curWidth + chunkWidth < targetWidth then
suffix = suffix .. (" "):rep(targetWidth - curWidth - chunkWidth)
end
break
end
curWidth = curWidth + chunkWidth
end
table.insert(newVirtText, { suffix, "MoreMsg" })
return newVirtText
end
return {
fold_virt_text_handler = handler,
provider_selector = function()
return { "treesitter", "indent" }
end,
open_fold_hl_timeout = 400,
close_fold_kinds = { "imports", "comment" },
preview = {
win_config = { border = { "", "─", "", "", "", "─", "", "" }, winblend = 0 },
mappings = {
scrollU = "<C-b>",
scrollD = "<C-f>",
jumpTop = "[",
jumpBot = "]",
},
},
}
end,
config = function(_, opts)
require("ufo").setup(opts)
local map = require("lazyvim.util").safe_keymap_set
map("n", "K", function()
if not require("ufo").peekFoldedLinesUnderCursor() then
vim.lsp.buf.hover()
end
end, { desc = "Peek folded lines under cursor or hover" })
end,
},
}
@@ -0,0 +1,7 @@
return {
"tzachar/highlight-undo.nvim",
event = "LazyFile",
opts = {
duration = 700,
},
}
@@ -0,0 +1,46 @@
return {
{
"edluffy/hologram.nvim", -- TODO: Need to investigate this
enabled = false,
opts = {
auto_display = true, -- WIP automatic markdown image display, may be prone to breaking
},
},
{
"3rd/image.nvim",
event = "LazyFile",
init = function()
package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?/init.lua;"
package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?.lua;"
end,
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 = true,
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 = true,
filetypes = { "norg" },
},
},
max_width = nil,
max_height = nil,
max_width_window_percentage = nil,
max_height_window_percentage = 50,
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 = true, -- 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
},
},
}
@@ -0,0 +1,6 @@
return {
"barrett-ruth/import-cost.nvim",
build = "sh install.sh yarn",
event = "LazyFile",
config = true,
}
@@ -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" },
},
}
@@ -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 = {},
}
@@ -0,0 +1,4 @@
return {
"sitiom/nvim-numbertoggle",
event = "LazyFile",
}
@@ -0,0 +1,18 @@
return {
"HiPhish/rainbow-delimiters.nvim",
event = "LazyFile",
opts = {
highlight = {
"RainbowDelimiterBlue",
"RainbowDelimiterYellow",
"RainbowDelimiterViolet",
"RainbowDelimiterOrange",
"RainbowDelimiterCyan",
"RainbowDelimiterRed",
"RainbowDelimiterGreen",
},
},
config = function(_, opts)
require("rainbow-delimiters.setup").setup({ opts })
end,
}
@@ -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
@@ -0,0 +1,10 @@
return {
"declancm/cinnamon.nvim",
event = "VeryLazy",
opts = {
default_keymaps = true,
extra_keymaps = true,
extended_keymaps = true,
override_keymaps = true,
},
}
@@ -0,0 +1,8 @@
return {
"edluffy/specs.nvim",
opts = {},
-- stylua: ignore
keys = {
{ "<C-b>", function() require("specs").show_specs() end, desc = "Specs" },
},
}
@@ -0,0 +1,8 @@
return {
"miversen33/sunglasses.nvim",
event = "UIEnter",
opts = {
filter_type = "SHADE",
filter_percent = 0.85,
},
}
@@ -0,0 +1,7 @@
return {
"xiyaowong/nvim-transparent",
opts = {},
keys = {
{ "<leader>uP", "<Cmd>TransparentToggle<CR>", desc = "Toggle Transparent" },
},
}
@@ -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 = {},
}
@@ -0,0 +1,51 @@
local Util = require("lazyvim.util")
return {
{
"folke/zen-mode.nvim",
cmd = "ZenMode",
keys = { { "<leader>uz", "<cmd>ZenMode<cr>", desc = "Toggle Zen Mode" } },
opts = {
on_open = function(_)
vim.opt.laststatus = 0
if vim.fn.exists(":SatelliteDisable") ~= 0 then
vim.cmd("SatelliteDisable")
end
if vim.fn.exists(":ScrollViewDisable") ~= 0 then
vim.cmd("ScrollViewDisable")
end
if vim.fn.exists(":LspLensOff") ~= 0 then
vim.cmd("LspLensOff")
end
if vim.fn.exists(":NvimContextVtToggle") ~= 0 then
vim.cmd("NvimContextVtToggle")
end
Util.toggle.inlay_hints()
vim.cmd("Gitsigns toggle_current_line_blame")
end,
on_close = function()
vim.opt.laststatus = 3
if vim.fn.exists(":SatelliteEnable") ~= 0 then
vim.cmd("SatelliteEnable")
end
if vim.fn.exists(":ScrollViewEnable") ~= 0 then
vim.cmd("ScrollViewEnable")
end
if vim.fn.exists(":LspLensOn") ~= 0 then
vim.cmd("LspLensOn")
end
if vim.fn.exists(":NvimContextVtToggle") ~= 0 then
vim.cmd("NvimContextVtToggle")
end
Util.toggle.inlay_hints()
vim.cmd("Gitsigns toggle_current_line_blame")
end,
},
},
{
"folke/twilight.nvim",
cmd = "Twilight",
keys = { { "<leader>uZ", "<cmd>Twilight<cr>", desc = "Toggle Twilight" } },
opts = {},
},
}