mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 2025-10-03
This commit is contained in:
@@ -6,7 +6,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
@@ -27,4 +27,10 @@ require("lazy").setup({
|
||||
install = { colorscheme = { "rose-pine" } },
|
||||
ui = { border = "rounded" },
|
||||
change_detection = { enabled = false },
|
||||
rocks = {
|
||||
hererocks = nil,
|
||||
},
|
||||
dev = {
|
||||
path = "~/repos/nvim/plugins",
|
||||
},
|
||||
})
|
||||
|
||||
@@ -33,7 +33,6 @@ return {
|
||||
"kiyoon/jupynium.nvim",
|
||||
event = "BufReadPre *.ju.py",
|
||||
},
|
||||
"supermaven-inc/supermaven-nvim",
|
||||
},
|
||||
version = "*",
|
||||
opts = {
|
||||
@@ -83,7 +82,7 @@ return {
|
||||
sql = { "dbee", "buffer", "snippets" },
|
||||
musql = { "dbee", "buffer", "snippets" },
|
||||
plsql = { "dbee", "buffer", "snippets" },
|
||||
markdown = { "lsp", "obsidian", "ripgrep", "buffer", "path", "snippets", "supermaven" },
|
||||
markdown = { "lsp", "obsidian", "ripgrep", "buffer", "path", "snippets" },
|
||||
},
|
||||
providers = {
|
||||
buffer = {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
return {
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {
|
||||
style = "night",
|
||||
transparent = true,
|
||||
@@ -13,10 +11,6 @@ return {
|
||||
},
|
||||
lualine_bold = true,
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("tokyonight").setup(opts)
|
||||
-- vim.cmd.colorscheme("tokyonight")
|
||||
end,
|
||||
},
|
||||
{ "lunarvim/darkplus.nvim" },
|
||||
{ "catppuccin/nvim", name = "catppuccin.nvim" },
|
||||
|
||||
@@ -6,7 +6,7 @@ return {
|
||||
"rcarriga/nvim-dap-ui",
|
||||
"mfussenegger/nvim-dap",
|
||||
"nvim-neotest/nvim-nio",
|
||||
{ "mfussenegger/nvim-dap-python", ft = "python" },
|
||||
{ "mfussenegger/nvim-dap-python", ft = "python", enabled = false },
|
||||
"theHamsta/nvim-dap-virtual-text",
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
@@ -204,7 +204,7 @@ return {
|
||||
require("nvim-dap-virtual-text").setup({})
|
||||
|
||||
--- Python
|
||||
require("dap-python").setup("python")
|
||||
-- require("dap-python").setup("uv")
|
||||
|
||||
--- JS/TS
|
||||
--[[ local firefox_debug_adapter = mason_registry.get_package("firefox-debug-adapter"):get_install_path()
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
return {
|
||||
"ldelossa/gh.nvim",
|
||||
dependencies = {
|
||||
{
|
||||
"ldelossa/litee.nvim",
|
||||
config = function()
|
||||
require("litee.lib").setup()
|
||||
end,
|
||||
},
|
||||
-- "folke/which-key.nvim",
|
||||
},
|
||||
opts = {
|
||||
-- deprecated, around for compatability for now.
|
||||
jump_mode = "invoking",
|
||||
-- remap the arrow keys to resize any litee.nvim windows.
|
||||
map_resize_keys = false,
|
||||
-- do not map any keys inside any gh.nvim buffers.
|
||||
disable_keymaps = false,
|
||||
-- the icon set to use.
|
||||
icon_set = "default",
|
||||
-- any custom icons to use.
|
||||
icon_set_custom = nil,
|
||||
-- whether to register the @username and #issue_number omnifunc completion
|
||||
-- in buffers which start with .git/
|
||||
git_buffer_completion = true,
|
||||
-- defines keymaps in gh.nvim buffers.
|
||||
keymaps = {
|
||||
-- when inside a gh.nvim panel, this key will open a node if it has
|
||||
-- any futher functionality. for example, hitting <CR> on a commit node
|
||||
-- will open the commit's changed files in a new gh.nvim panel.
|
||||
open = "<CR>",
|
||||
-- when inside a gh.nvim panel, expand a collapsed node
|
||||
expand = "zo",
|
||||
-- when inside a gh.nvim panel, collpased and expanded node
|
||||
collapse = "zc",
|
||||
-- when cursor is over a "#1234" formatted issue or PR, open its details
|
||||
-- and comments in a new tab.
|
||||
goto_issue = "gd",
|
||||
-- show any details about a node, typically, this reveals commit messages
|
||||
-- and submitted review bodys.
|
||||
details = "d",
|
||||
-- inside a convo buffer, submit a comment
|
||||
submit_comment = "<C-s>",
|
||||
-- inside a convo buffer, when your cursor is ontop of a comment, open
|
||||
-- up a set of actions that can be performed.
|
||||
actions = "<C-a>",
|
||||
-- inside a thread convo buffer, resolve the thread.
|
||||
resolve_thread = "<C-r>",
|
||||
-- inside a gh.nvim panel, if possible, open the node's web URL in your
|
||||
-- browser. useful particularily for digging into external failed CI
|
||||
-- checks.
|
||||
goto_web = "gx",
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("litee.gh").setup(opts)
|
||||
end,
|
||||
}
|
||||
@@ -6,7 +6,7 @@ return {
|
||||
{
|
||||
"<leader>gi",
|
||||
function()
|
||||
require("gitignore").generate()
|
||||
require("gitignore").generate({})
|
||||
end,
|
||||
desc = "Git Ignore",
|
||||
},
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
return {
|
||||
"yujinyuz/gitpad.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>nn",
|
||||
function()
|
||||
require("gitpad").toggle_gitpad() -- or require('gitpad').toggle_gitpad({ title = 'Project notes' })
|
||||
end,
|
||||
desc = "gitpad project",
|
||||
},
|
||||
{
|
||||
"<leader>nb",
|
||||
function()
|
||||
require("gitpad").toggle_gitpad_branch() -- or require('gitpad').toggle_gitpad_branch({ title = 'Branch notes' })
|
||||
end,
|
||||
desc = "gitpad branch",
|
||||
},
|
||||
-- Daily notes
|
||||
{
|
||||
"<leader>nd",
|
||||
function()
|
||||
local date_filename = "daily-" .. os.date("%Y-%m-%d.md")
|
||||
require("gitpad").toggle_gitpad({ filename = date_filename }) -- or require('gitpad').toggle_gitpad({ filename = date_filename, title = 'Daily notes' })
|
||||
end,
|
||||
desc = "gitpad daily notes",
|
||||
},
|
||||
-- Per file notes
|
||||
{
|
||||
"<leader>nf",
|
||||
function()
|
||||
local filename = vim.fn.expand("%:p") -- or just use vim.fn.bufname()
|
||||
if filename == "" then
|
||||
vim.notify("empty bufname")
|
||||
return
|
||||
end
|
||||
filename = vim.fn.pathshorten(filename, 2) .. ".md"
|
||||
require("gitpad").toggle_gitpad({ filename = filename }) -- or require('gitpad').toggle_gitpad({ filename = filename, title = 'Current file notes' })
|
||||
end,
|
||||
desc = "gitpad per file notes",
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
"m4xshen/hardtime.nvim",
|
||||
enabled = false,
|
||||
lazy = false,
|
||||
dependencies = { "MunifTanjim/nui.nvim" },
|
||||
opts = {},
|
||||
}
|
||||
@@ -3,7 +3,6 @@ return {
|
||||
event = "BufReadPost",
|
||||
keys = {
|
||||
{
|
||||
|
||||
"<A-n>",
|
||||
function()
|
||||
require("illuminate").goto_next_reference()
|
||||
@@ -17,54 +16,16 @@ return {
|
||||
end,
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("illuminate").configure({
|
||||
providers = {
|
||||
"lsp",
|
||||
"treesitter",
|
||||
"regex",
|
||||
},
|
||||
-- delay: delay in milliseconds
|
||||
delay = 100,
|
||||
-- filetype_overrides: filetype specific overrides.
|
||||
-- The keys are strings to represent the filetype while the values are tables that
|
||||
-- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
|
||||
filetype_overrides = {},
|
||||
-- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
|
||||
filetypes_denylist = {
|
||||
"alpha",
|
||||
"NvimTree",
|
||||
"dirvish",
|
||||
"fugitive",
|
||||
"dbee",
|
||||
},
|
||||
-- filetypes_allowlist: filetypes to illuminate, this is overridden by filetypes_denylist
|
||||
filetypes_allowlist = {},
|
||||
-- modes_denylist: modes to not illuminate, this overrides modes_allowlist
|
||||
-- See `:help mode()` for possible values
|
||||
modes_denylist = {},
|
||||
-- modes_allowlist: modes to illuminate, this is overridden by modes_denylist
|
||||
-- See `:help mode()` for possible values
|
||||
modes_allowlist = {},
|
||||
-- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
|
||||
-- Only applies to the 'regex' provider
|
||||
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
|
||||
providers_regex_syntax_denylist = {},
|
||||
-- providers_regex_syntax_allowlist: syntax to illuminate, this is overridden by providers_regex_syntax_denylist
|
||||
-- Only applies to the 'regex' provider
|
||||
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
|
||||
providers_regex_syntax_allowlist = {},
|
||||
-- under_cursor: whether or not to illuminate under the cursor
|
||||
under_cursor = true,
|
||||
-- large_file_cutoff: number of lines at which to use large_file_config
|
||||
-- The `under_cursor` option is disabled when this cutoff is hit
|
||||
large_file_cutoff = nil,
|
||||
-- large_file_config: config to use for large files (based on large_file_cutoff).
|
||||
-- Supports the same keys passed to .configure
|
||||
-- If nil, vim-illuminate will be disabled for large files.
|
||||
large_file_overrides = nil,
|
||||
-- min_count_to_highlight: minimum number of matches required to perform highlighting
|
||||
min_count_to_highlight = 1,
|
||||
})
|
||||
opts = {
|
||||
filetypes_denylist = {
|
||||
"alpha",
|
||||
"NvimTree",
|
||||
"dirvish",
|
||||
"fugitive",
|
||||
"dbee",
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("illuminate").configure(opts)
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"kiyoon/jupynium.nvim",
|
||||
-- enabled = false,
|
||||
dependencies = {
|
||||
-- "rcarriga/nvim-notify", -- optional
|
||||
-- "stevearc/dressing.nvim", -- optional, UI for :JupyniumKernelSelect
|
||||
},
|
||||
build = "uv pip install .",
|
||||
event = "BufReadPre *.ju.py",
|
||||
opts = {
|
||||
-- python_host = { "uvx", "jupynium", "python" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("jupynium").setup(opts)
|
||||
require("jupynium").get_folds()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"goerz/jupytext.nvim",
|
||||
build = "uv tool install jupytext",
|
||||
version = "0.2.0",
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
@@ -9,7 +9,7 @@ return {
|
||||
"folke/neoconf.nvim",
|
||||
"mrcjkb/rustaceanvim",
|
||||
"pmizio/typescript-tools.nvim",
|
||||
"nvim-java/nvim-java",
|
||||
{ "nvim-java/nvim-java", enabled = false },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("mason").setup()
|
||||
|
||||
@@ -2,26 +2,7 @@ return {
|
||||
"IogaMaster/neocord",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- General options
|
||||
logo = "auto", -- "auto" or url
|
||||
logo_tooltip = nil, -- nil or string
|
||||
main_image = "language", -- "language" or "logo"
|
||||
log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
|
||||
debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
|
||||
blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
|
||||
file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
|
||||
show_time = true, -- Show the timer
|
||||
global_timer = true, -- if set true, timer won't update when any event are triggered
|
||||
enable_line_number = true,
|
||||
|
||||
-- Rich Presence text options
|
||||
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
|
||||
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
|
||||
git_commit_text = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string)
|
||||
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
|
||||
reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
|
||||
workspace_text = "Working on %s", -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
|
||||
line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
|
||||
terminal_text = "Using Terminal", -- Format string rendered when in terminal mode.
|
||||
global_timer = true,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
return {
|
||||
"nvim-neorg/neorg",
|
||||
dependencies = {
|
||||
{ "vhyrro/luarocks.nvim", config = true },
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
{ "nvim-neorg/neorg-telescope" },
|
||||
"nvim-neorg/neorg-telescope",
|
||||
},
|
||||
lazy = true,
|
||||
version = "*",
|
||||
ft = "norg",
|
||||
cmd = { "Neorg" },
|
||||
keys = {
|
||||
{
|
||||
@@ -84,9 +85,6 @@ return {
|
||||
{ ">", "<Plug>(neorg.promo.promote.range)", desc = "Promote Range", ft = { "norg" } },
|
||||
{ "<", "<Plug>(neorg.promo.demote.range)", desc = "Demote Range", ft = { "norg" } },
|
||||
},
|
||||
lazy = true,
|
||||
version = "*",
|
||||
ft = "norg",
|
||||
opts = {
|
||||
load = {
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
|
||||
@@ -3,5 +3,6 @@ return {
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
enabled = false,
|
||||
opts = {},
|
||||
}
|
||||
|
||||
@@ -24,13 +24,5 @@ return {
|
||||
desc = "Stop Persistence => session won't be saved on exit",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
dir = vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/"), -- directory where session files are saved
|
||||
options = { "buffers", "curdir", "tabpages", "winsize" }, -- sessionoptions used for saving
|
||||
pre_save = nil, -- a function to call before saving the session
|
||||
post_save = nil, -- a function to call after saving the session
|
||||
save_empty = false, -- don't save if there are no open file buffers
|
||||
pre_load = nil, -- a function to call before loading the session
|
||||
post_load = nil, -- a function to call after loading the session
|
||||
},
|
||||
opts = {},
|
||||
}
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
return {
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
submodules = false,
|
||||
opts = {
|
||||
strategy = {},
|
||||
query = {},
|
||||
highlight = {},
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
submodules = false,
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("rainbow-delimiters.setup").setup(opts)
|
||||
end,
|
||||
|
||||
@@ -4,57 +4,21 @@ return {
|
||||
main = "nvim-silicon",
|
||||
cmd = "Silicon",
|
||||
opts = {
|
||||
-- the font settings with size and fallback font
|
||||
font = "JetBrainsMono NF=34",
|
||||
-- the theme to use, depends on themes available to silicon
|
||||
-- theme = "Rosé Pine",
|
||||
theme = "Dracula",
|
||||
-- the background color outside the rendered os window
|
||||
background = "#1a1b26",
|
||||
-- a path to a background image
|
||||
background_image = nil,
|
||||
-- the paddings to either side
|
||||
pad_horiz = 100,
|
||||
pad_vert = 80,
|
||||
-- whether to have the os window rendered with rounded corners
|
||||
no_round_corner = false,
|
||||
-- whether to put the close, minimize, maximise traffic light controls on the border
|
||||
theme = "Rosé Pine",
|
||||
background = "#1f1d2e",
|
||||
no_window_controls = true,
|
||||
-- whether to turn off the line numbers
|
||||
no_line_number = false,
|
||||
-- with which number the line numbering shall start, the default is 1, but here a
|
||||
-- function is used to return the actual source code line number
|
||||
line_offset = function(args)
|
||||
return args.line1
|
||||
end,
|
||||
-- the distance between lines of code
|
||||
line_pad = 0,
|
||||
-- the rendering of tab characters as so many space characters
|
||||
tab_width = 4,
|
||||
-- with which language the syntax highlighting shall be done, should be a function
|
||||
-- that returns either a language name or an extension like ".js"
|
||||
language = function()
|
||||
return vim.bo.filetype
|
||||
end,
|
||||
-- if the shadow below the os window should have be blurred
|
||||
shadow_blur_radius = 16,
|
||||
-- the offset of the shadow in x and y directions
|
||||
shadow_offset_x = 8,
|
||||
shadow_offset_y = 8,
|
||||
-- the color of the shadow
|
||||
shadow_color = "#100808",
|
||||
-- whether to strip of superfluous leading whitespace
|
||||
gobble = true,
|
||||
-- a string or function that defines the path to the output image
|
||||
shadow_color = "#191724",
|
||||
output = function()
|
||||
return "~/Pictures/screenshots/code/" .. os.date("!%Y_%m_%d-%H_%M_%S") .. ".png"
|
||||
end,
|
||||
-- whether to put the image onto the clipboard, may produce an error if run on WSL2
|
||||
to_clipboard = true,
|
||||
-- the silicon command, put an absolute location here, if the command is not in your PATH
|
||||
command = "silicon",
|
||||
-- a string or function returning a string that defines the title showing in the image
|
||||
-- only works in silicon versions greater than v0.5.1
|
||||
window_title = function()
|
||||
return vim.fn.fnamemodify(vim.api.nvim_buf_get_name(vim.api.nvim_get_current_buf()), ":t")
|
||||
end,
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
return {
|
||||
"supermaven-inc/supermaven-nvim",
|
||||
enabled = false,
|
||||
opts = {
|
||||
keymaps = {
|
||||
accept_suggestion = "<C-l>",
|
||||
clear_suggestion = "<C-]>",
|
||||
accept_word = "<C-j>",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user