From 41c8b538f48f534b4fe2427dbe97646aaa620b84 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 4 Oct 2024 13:52:47 +0300 Subject: [PATCH] removed: unused plugins --- .../nvim/lua/custom/plugins/buffer-vacuum.lua | 12 ------ .../lua/custom/plugins/{go.lua => gopher.lua} | 0 .config/nvim/lua/custom/plugins/hardtime.lua | 16 -------- .config/nvim/lua/custom/plugins/lsp-lines.lua | 14 ------- .config/nvim/lua/custom/plugins/neotree.lua | 37 ----------------- .../nvim/lua/custom/plugins/supermaven.lua | 41 ------------------- 6 files changed, 120 deletions(-) delete mode 100644 .config/nvim/lua/custom/plugins/buffer-vacuum.lua rename .config/nvim/lua/custom/plugins/{go.lua => gopher.lua} (100%) delete mode 100644 .config/nvim/lua/custom/plugins/hardtime.lua delete mode 100644 .config/nvim/lua/custom/plugins/lsp-lines.lua delete mode 100644 .config/nvim/lua/custom/plugins/neotree.lua delete mode 100644 .config/nvim/lua/custom/plugins/supermaven.lua diff --git a/.config/nvim/lua/custom/plugins/buffer-vacuum.lua b/.config/nvim/lua/custom/plugins/buffer-vacuum.lua deleted file mode 100644 index f1fa65a..0000000 --- a/.config/nvim/lua/custom/plugins/buffer-vacuum.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - -- FIX: Only cleans 1 buffer at a time - -- which means if u have more than max buffers, it'll never go below MAX buffers - - -- 'Kyren223/buffer-vacuum', - -- event = 'VeryLazy', - -- opts = { - -- max_buffers = 6, - -- enable_messages = true, - -- debug = true, - -- }, -} diff --git a/.config/nvim/lua/custom/plugins/go.lua b/.config/nvim/lua/custom/plugins/gopher.lua similarity index 100% rename from .config/nvim/lua/custom/plugins/go.lua rename to .config/nvim/lua/custom/plugins/gopher.lua diff --git a/.config/nvim/lua/custom/plugins/hardtime.lua b/.config/nvim/lua/custom/plugins/hardtime.lua deleted file mode 100644 index 208f491..0000000 --- a/.config/nvim/lua/custom/plugins/hardtime.lua +++ /dev/null @@ -1,16 +0,0 @@ -return { - -- 'm4xshen/hardtime.nvim', - -- dependencies = { 'MunifTanjim/nui.nvim', 'nvim-lua/plenary.nvim' }, - -- event = { 'BufReadPre', 'BufNewFile' }, - -- keys = { - -- { 'ht', '<Hardtime toggle', desc = '[H]ardtime [T]oggle' }, - -- { 'hT', '<Hardtime report', desc = '[H]ardtime Report' }, - -- }, - -- opts = { - -- restriction_mode = 'hint', - -- restricted_keys = { - -- ['h'] = {}, - -- ['l'] = {}, - -- }, - -- }, -} diff --git a/.config/nvim/lua/custom/plugins/lsp-lines.lua b/.config/nvim/lua/custom/plugins/lsp-lines.lua deleted file mode 100644 index e13e02b..0000000 --- a/.config/nvim/lua/custom/plugins/lsp-lines.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - -- -- NOTE: [Good alternative](https://github.com/rachartier/tiny-inline-diagnostic.nvim) - -- -- although, this plugin is amazing, so I wouldn't switch it most likely - -- Welp I did end up switching from it to tiny-inline-diagnostics - -- This plugin just has too much info and it creates a ton of ghost lines - -- would rather just have the diagnostic of whatever I am on + using trouble for project/file lvl if I want a list - -- 'https://git.sr.ht/~whynothugo/lsp_lines.nvim', - -- event = 'VeryLazy', - -- config = function() - -- require('lsp_lines').setup() - -- vim.diagnostic.config({ virtual_lines = false }) - -- vim.keymap.set('n', 'dt', require('lsp_lines').toggle, { desc = '[D]iagnostics [T]oggle inline' }) - -- end, -} diff --git a/.config/nvim/lua/custom/plugins/neotree.lua b/.config/nvim/lua/custom/plugins/neotree.lua deleted file mode 100644 index 7c3429d..0000000 --- a/.config/nvim/lua/custom/plugins/neotree.lua +++ /dev/null @@ -1,37 +0,0 @@ --- TODO: Consider removing neotree --- Not really using it due to oil.nvim, but maybe it's still --- useful to have a tree-structure file explorer? -return { - 'nvim-neo-tree/neo-tree.nvim', - branch = 'v3.x', - dependencies = { - 'nvim-lua/plenary.nvim', - 'nvim-tree/nvim-web-devicons', - 'MunifTanjim/nui.nvim', - }, - cmd = 'Neotree', - keys = { - { 'nt', 'Neotree toggle reveal left', desc = '[N]eotree [T]oggle' }, - }, - config = function() - require('neo-tree').setup({ - open_files_do_not_replace_types = { 'terminal', 'Trouble', 'qf', 'edgy' }, - window = { - mappings = { - ['e'] = function() - ---@diagnostic disable-next-line: deprecated - vim.api.nvim_exec('Neotree focus filesystem left', true) - end, - ['b'] = function() - ---@diagnostic disable-next-line: deprecated - vim.api.nvim_exec('Neotree focus buffers left', true) - end, - ['g'] = function() - ---@diagnostic disable-next-line: deprecated - vim.api.nvim_exec('Neotree focus git_status left', true) - end, - }, - }, - }) - end, -} diff --git a/.config/nvim/lua/custom/plugins/supermaven.lua b/.config/nvim/lua/custom/plugins/supermaven.lua deleted file mode 100644 index 1df52f2..0000000 --- a/.config/nvim/lua/custom/plugins/supermaven.lua +++ /dev/null @@ -1,41 +0,0 @@ -return { - -- 'supermaven-inc/supermaven-nvim', - -- event = 'VeryLazy', - -- keys = { - -- { - -- 'sm', - -- function() - -- local api = require('supermaven-nvim.api') - -- if api.is_running() then - -- Notify('Enabled Supermaven', 'Supermaven') - -- api.stop() - -- else - -- Notify('Disabled Supermaven', 'Supermaven') - -- api.start() - -- end - -- end, - -- desc = '[S]upermaven [T]oggle', - -- }, - -- }, - -- opts = { - -- keymaps = { - -- accept_suggestion = '', - -- clear_suggestion = '', - -- accept_word = nil, - -- }, - -- ignore_filetypes = { - -- ['markdown'] = true, - -- ['help'] = true, - -- ['NeogitStatus'] = true, - -- ['NeogitPopup'] = true, - -- ['NeogitCommitMessage'] = true, - -- }, - -- color = { - -- suggestion_color = '#ffffff', - -- cterm = 244, - -- }, - -- log_level = 'info', -- set to "off" to disable logging completely - -- disable_inline_completion = false, -- disables inline completion for use with cmp - -- disable_keymaps = false, - -- }, -}