From f1430fa64d58fe346dd19b8e24f795ced4fcebbc Mon Sep 17 00:00:00 2001 From: aleidk Date: Thu, 22 May 2025 10:46:07 -0400 Subject: [PATCH] remove unecesary neovim plugins for basic text editing --- .../lua/aleidk/plugins/bookmarks.lua | 4 -- .../lua/aleidk/plugins/database.lua | 44 ------------------- .../lua/aleidk/plugins/indent-blankline.lua | 30 ------------- .../lua/aleidk/plugins/remote-sshfs.lua | 7 --- .../lua/aleidk/plugins/typescript-tools.lua | 18 -------- 5 files changed, 103 deletions(-) delete mode 100644 Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/database.lua delete mode 100644 Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/indent-blankline.lua delete mode 100644 Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/remote-sshfs.lua delete mode 100644 Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/typescript-tools.lua diff --git a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/bookmarks.lua b/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/bookmarks.lua index a68f973..fe3a1a2 100644 --- a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/bookmarks.lua +++ b/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/bookmarks.lua @@ -15,10 +15,6 @@ return { }, lazy = false, cmd = "Grapple", - config = function() - local telescope = require("telescope") - telescope.load_extension("grapple") - end, keys = { { "a", "Grapple toggle", desc = "Toggle bookmark for current file" }, { "D", "Grapple reset", desc = "Delete all bookmarks" }, diff --git a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/database.lua b/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/database.lua deleted file mode 100644 index 175697b..0000000 --- a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/database.lua +++ /dev/null @@ -1,44 +0,0 @@ -return { - "kristijanhusak/vim-dadbod-ui", - dependencies = { - { "tpope/vim-dadbod", lazy = true }, - { "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" }, lazy = true }, - }, - cmd = { - "DBUI", - "DBUIToggle", - "DBUIAddConnection", - "DBUIFindBuffer", - }, - keys = { - { "ud", "DBUIToggle", desc = "Toggle DB UI" }, - }, - init = function() - -- Your DBUI configuration - vim.g.db_ui_use_nerd_fonts = 1 - vim.g.db_ui_force_echo_notifications = 1 - - vim.api.nvim_create_autocmd("FileType", { - pattern = { - "sql", - "mysql", - "plsql", - }, - command = [[setlocal omnifunc=vim_dadbod_completion#omni]], - }) - - vim.api.nvim_create_autocmd("FileType", { - pattern = { - "sql", - "mysql", - "plsql", - }, - callback = function() - ---@diagnostic disable-next-line: missing-fields - require("cmp").setup.buffer({ - sources = { { name = "vim-dadbod-completion" }, { name = "buffer" } }, - }) - end, - }) - end, -} diff --git a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/indent-blankline.lua b/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/indent-blankline.lua deleted file mode 100644 index f529305..0000000 --- a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/indent-blankline.lua +++ /dev/null @@ -1,30 +0,0 @@ -return { - -- Add indentation guides even on blank lines - "lukas-reineke/indent-blankline.nvim", - dependencies = { "nvim-treesitter/nvim-treesitter" }, - main = "ibl", - opts = { - -- char = "▏", - indent = { - char = "│", - tab_char = "│", - }, - scope = { - enabled = true, - }, - exclude = { - filetypes = { - "help", - "alpha", - "dashboard", - "neo-tree", - "Trouble", - "lazy", - "mason", - "notify", - "toggleterm", - "lazyterm", - }, - }, - }, -} diff --git a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/remote-sshfs.lua b/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/remote-sshfs.lua deleted file mode 100644 index 8c11bc1..0000000 --- a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/remote-sshfs.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - { - "nosduco/remote-sshfs.nvim", - dependencies = { "nvim-telescope/telescope.nvim" }, - cmd = { "RemoteSSHFSConnect" }, - }, -} diff --git a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/typescript-tools.lua b/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/typescript-tools.lua deleted file mode 100644 index 7f106b0..0000000 --- a/Configs/nvim_unstable/.config/nvim_unstable/lua/aleidk/plugins/typescript-tools.lua +++ /dev/null @@ -1,18 +0,0 @@ -return { - "pmizio/typescript-tools.nvim", - dependencies = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" }, - opts = { - init_options = { - preferences = { - disableSuggestions = true, - }, - }, - settings = { - -- array of strings("fix_all"|"add_missing_imports"|"remove_unused"| - -- "remove_unused_imports"|"organize_imports") -- or string "all" - -- to include all supported code actions - -- specify commands exposed as code_actions - expose_as_code_action = "all", - }, - }, -}