From b579384ef2eb4c20a094984ff355ac5416a224ac Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Sun, 19 Jan 2025 23:07:53 +0100 Subject: [PATCH] idk --- lazy-lock.json | 11 +- lua/plugins/init.lua | 268 ++++++++++++++++++++++--------------------- 2 files changed, 142 insertions(+), 137 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index bdc25ac..9a9f87f 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -27,16 +27,17 @@ "nvim-autopairs": { "branch": "master", "commit": "3d02855468f94bf435db41b661b58ec4f48a06b7" }, "nvim-bufdel": { "branch": "main", "commit": "523d58e94e7212fff3e05c247b962dc8f93bcfde" }, "nvim-cmp": { "branch": "main", "commit": "8c82d0bd31299dbff7f8e780f5e06d2283de9678" }, - "nvim-lspconfig": { "branch": "master", "commit": "339ccc81e08793c3af9b83882a6ebd90c9cc0d3b" }, - "nvim-tree.lua": { "branch": "master", "commit": "d529a99f88e0dff02e0aa275db2f595cd252a2c8" }, - "nvim-treesitter": { "branch": "master", "commit": "5da195ac3dfafd08d8b10756d975f0e01e1d563a" }, + "nvim-dap": { "branch": "master", "commit": "99807078c5089ed30e0547aa4b52c5867933f426" }, + "nvim-lspconfig": { "branch": "master", "commit": "14b5a806c928390fac9ff4a5630d20eb902afad8" }, + "nvim-tree.lua": { "branch": "master", "commit": "fca0b67c0b5a31727fb33addc4d9c100736a2894" }, + "nvim-treesitter": { "branch": "master", "commit": "4423f3053964461656c7432fd33f205ef88a6168" }, "nvim-web-devicons": { "branch": "master", "commit": "aafa5c187a15701a7299a392b907ec15d9a7075f" }, "plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, "telescope.nvim": { "branch": "master", "commit": "415af52339215926d705cccc08145f3782c4d132" }, - "ui": { "branch": "v3.0", "commit": "5942f52103fe8f5621d514cbc80ea990dc8fce09" }, + "ui": { "branch": "v3.0", "commit": "2aa9d7c75a2b397594ae30b765883740a77ca081" }, "undotree": { "branch": "master", "commit": "2556c6800b210b2096b55b66e74b4cc1d9ebbe4f" }, "vim-suda": { "branch": "master", "commit": "9adda7d195222d4e2854efb2a88005a120296c47" }, - "volt": { "branch": "main", "commit": "f02b065caf0327bf4d443ff6d91cb0edd6948ddb" }, + "volt": { "branch": "main", "commit": "91fe3e82842a709443cdd61fc1a1315a5eb57a8d" }, "which-key.nvim": { "branch": "main", "commit": "1f8d414f61e0b05958c342df9b6a4c89ce268766" } } diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 06cbf4e..aa12b90 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,146 +1,150 @@ return { - { - "stevearc/conform.nvim", - -- event = 'BufWritePre', -- uncomment for format on save - opts = require "configs.conform", - }, - - { - "mbbill/undotree", - }, - - { - "andweeb/presence.nvim", - }, - - { - "kwkarlwang/bufresize.nvim", - config = function() - require "configs.bufresize" - end, - }, - - { - "nvim-focus/focus.nvim", - config = function() - require "configs.focus" - end, - }, - - -- These are some examples, uncomment them if you want to see them work! - { - "neovim/nvim-lspconfig", - dependencies = { - "williamboman/mason.nvim", - "williamboman/mason-lspconfig.nvim", - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "hrsh7th/cmp-cmdline", - "hrsh7th/nvim-cmp", - "L3MON4D3/LuaSnip", - "saadparwaiz1/cmp_luasnip", - "j-hui/fidget.nvim", + { + "stevearc/conform.nvim", + -- event = 'BufWritePre', -- uncomment for format on save + opts = require "configs.conform", }, - config = function() - require "configs.lspconfig" - end, - }, - { "lambdalisue/vim-suda" }, - - { - "ojroques/nvim-bufdel", - opts = { - next = 'tabs', - quit = true, + { + "mbbill/undotree", }, - }, - { - "zbirenbaum/copilot.lua", - lazy = true, - cmd = "Copilot", - event = "InsertEnter", - config = function() - require "configs.copilot" - end, - }, - - { - "CopilotC-Nvim/CopilotChat.nvim", - dependencies = { - { "zbirenbaum/copilot.lua" }, -- or zbirenbaum/copilot.lua - { "nvim-lua/plenary.nvim", branch = "master" }, -- for curl, log and async functions + { + "andweeb/presence.nvim", }, - build = "make tiktoken", -- Only on MacOS or Linux - opts = { - -- See Configuration section for options + + { + "kwkarlwang/bufresize.nvim", + config = function() + require "configs.bufresize" + end, }, - }, - { - "rmagatti/auto-session", - opts = { - enabled = true, - root_dir = vim.fn.stdpath "data" .. "/sessions/", - auto_save = true, - auto_restore = true, - auto_create = true, - suppressed_dirs = nil, - allowed_dirs = nil, - auto_restore_last_session = false, - use_git_branch = false, - lazy_support = true, - bypass_save_filetypes = nil, - close_unsupported_windows = true, - args_allow_single_directory = true, - args_allow_files_auto_save = false, - continue_restore_on_error = true, - show_auto_restore_notif = false, - cwd_change_handling = false, - lsp_stop_on_restore = false, - log_level = "error", + { + "nvim-focus/focus.nvim", + config = function() + require "configs.focus" + end, + }, - session_lens = { - load_on_setup = true, - theme_conf = { - -- test + { + "mfussenegger/nvim-dap", + }, + + -- These are some examples, uncomment them if you want to see them work! + { + "neovim/nvim-lspconfig", + dependencies = { + "williamboman/mason.nvim", + "williamboman/mason-lspconfig.nvim", + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-path", + "hrsh7th/cmp-cmdline", + "hrsh7th/nvim-cmp", + "L3MON4D3/LuaSnip", + "saadparwaiz1/cmp_luasnip", + "j-hui/fidget.nvim", }, - previewer = false, - - mappings = { - delete_session = { "i", "" }, - alternate_session = { "i", "" }, - copy_session = { "i", "" }, - }, - - session_control = { - control_dir = vim.fn.stdpath "data" .. "/auto_session/", - control_filename = "session_control.json", - }, - }, + config = function() + require "configs.lspconfig" + end, }, - }, - { - "smolck/command-completion.nvim", - opts = { - border = nil, - highlight_selection = true, - use_matchfuzzy = true, + { "lambdalisue/vim-suda" }, + + { + "ojroques/nvim-bufdel", + opts = { + next = 'tabs', + quit = true, + }, + }, + + { + "zbirenbaum/copilot.lua", + lazy = true, + cmd = "Copilot", + event = "InsertEnter", + config = function() + require "configs.copilot" + end, + }, + + { + "CopilotC-Nvim/CopilotChat.nvim", + dependencies = { + { "zbirenbaum/copilot.lua" }, -- or zbirenbaum/copilot.lua + { "nvim-lua/plenary.nvim", branch = "master" }, -- for curl, log and async functions + }, + build = "make tiktoken", -- Only on MacOS or Linux + opts = { + -- See Configuration section for options + }, + }, + + { + "rmagatti/auto-session", + opts = { + enabled = true, + root_dir = vim.fn.stdpath "data" .. "/sessions/", + auto_save = true, + auto_restore = true, + auto_create = true, + suppressed_dirs = nil, + allowed_dirs = nil, + auto_restore_last_session = false, + use_git_branch = false, + lazy_support = true, + bypass_save_filetypes = nil, + close_unsupported_windows = true, + args_allow_single_directory = true, + args_allow_files_auto_save = false, + continue_restore_on_error = true, + show_auto_restore_notif = false, + cwd_change_handling = false, + lsp_stop_on_restore = false, + log_level = "error", + + session_lens = { + load_on_setup = true, + theme_conf = { + -- test + }, + previewer = false, + + mappings = { + delete_session = { "i", "" }, + alternate_session = { "i", "" }, + copy_session = { "i", "" }, + }, + + session_control = { + control_dir = vim.fn.stdpath "data" .. "/auto_session/", + control_filename = "session_control.json", + }, + }, + }, + }, + + { + "smolck/command-completion.nvim", + opts = { + border = nil, + highlight_selection = true, + use_matchfuzzy = true, + }, + }, + { + "nvim-treesitter/nvim-treesitter", + opts = { + ensure_installed = "all", + sync_install = false, + auto_install = true, + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, + }, }, - }, - { - "nvim-treesitter/nvim-treesitter", - opts = { - ensure_installed = "all", - sync_install = false, - auto_install = true, - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, - }, - }, }