From aa8f4608d03c84a995941c765eeecf4a19ff9e8e Mon Sep 17 00:00:00 2001 From: EdenEast Date: Tue, 9 Jan 2024 20:55:35 -0500 Subject: [PATCH] feat(nvim): cleanup nvim plugins --- config/.config/nvim/lazy-lock.json | 3 - config/.config/nvim/lua/eden/mod/init.lua | 11 ---- .../nvim/lua/eden/mod/snippets/init.lua | 4 -- config/.config/nvim/lua/eden/mod/ui.lua | 60 +++++++++---------- 4 files changed, 30 insertions(+), 48 deletions(-) diff --git a/config/.config/nvim/lazy-lock.json b/config/.config/nvim/lazy-lock.json index 1dfffc56..fb71e720 100644 --- a/config/.config/nvim/lazy-lock.json +++ b/config/.config/nvim/lazy-lock.json @@ -12,7 +12,6 @@ "diffview.nvim": { "branch": "main", "commit": "b3a763f8c7810b352226c95faa7d3ac9fb93b8d9" }, "dressing.nvim": { "branch": "master", "commit": "5fb5cce0cbfcedeadbcee43e5674e8c9a9f28d4a" }, "flash.nvim": { "branch": "main", "commit": "947170a7abc7e145cc87afd3ecb6aeb281d88a52" }, - "friendly-snippets": { "branch": "main", "commit": "91dc01efa4cbb6d6a2b77eb98953b9a1d5c78f5f" }, "gitsigns.nvim": { "branch": "main", "commit": "a36bc3360d584d39b4fb076d855c4180842d4444" }, "harpoon": { "branch": "master", "commit": "bb4f7c0b3ef07042b1de816769f14a1b11ecc1a8" }, "indent-blankline.nvim": { "branch": "master", "commit": "7075d7861f7a6bbf0de0298c83f8a13195e6ec01" }, @@ -30,7 +29,6 @@ "neo-tree.nvim": { "branch": "v2.x", "commit": "d883632bf8f92f1d5abea4a9c28fb2f90aa795aa" }, "neodev.nvim": { "branch": "main", "commit": "78f1c370173e7689bd58d64229b4d92c5dfb2793" }, "neogit": { "branch": "master", "commit": "68a3e90e9d1ed9e362317817851d0f34b19e426b" }, - "noice.nvim": { "branch": "main", "commit": "39461475d9de676bccc338876689c9e5b44bc932" }, "nui.nvim": { "branch": "main", "commit": "d146966a423e60699b084eeb28489fe3b6427599" }, "null-ls.nvim": { "branch": "main", "commit": "bbaf5a96913aa92281f154b08732be2f57021c45" }, "nvim-asciidoc-preview": { "branch": "main", "commit": "62d12bf3117b4ea53e266bc93033f84af0130212" }, @@ -55,7 +53,6 @@ "one-small-step-for-vimkind": { "branch": "main", "commit": "f239ca0dc772f214e7ff0627ccbd45bceae88bf8" }, "playground": { "branch": "master", "commit": "2b81a018a49f8e476341dfcb228b7b808baba68b" }, "plenary.nvim": { "branch": "master", "commit": "36aaceb6e93addd20b1b18f94d86aecc552f30c4" }, - "remember-me.nvim": { "branch": "main", "commit": "1f2ef40e08ac9023eca6786aa414580380bad8d3" }, "telescope.nvim": { "branch": "master", "commit": "00cf15074a2997487813672a75f946d2ead95eb0" }, "todo-comments.nvim": { "branch": "main", "commit": "09b0b17d824d2d56f02ff15967e8a2499a89c731" }, "trouble.nvim": { "branch": "main", "commit": "2af0dd9767526410c88c628f1cbfcb6cf22dd683" }, diff --git a/config/.config/nvim/lua/eden/mod/init.lua b/config/.config/nvim/lua/eden/mod/init.lua index 711f7710..3b2d2185 100644 --- a/config/.config/nvim/lua/eden/mod/init.lua +++ b/config/.config/nvim/lua/eden/mod/init.lua @@ -9,17 +9,6 @@ return { config = function() vim.g.startuptime_tries = 10 end, }, - -- project specific session manager - { - "EricDriussi/remember-me.nvim", - config = function() - local path = require("eden.core.path") - require("remember_me").setup({ - session_store = path.join(path.cachehome, "remember-me"), - }) - end, - }, - -- tmux navigator { "christoomey/vim-tmux-navigator" }, } diff --git a/config/.config/nvim/lua/eden/mod/snippets/init.lua b/config/.config/nvim/lua/eden/mod/snippets/init.lua index cf68f642..7828ce59 100644 --- a/config/.config/nvim/lua/eden/mod/snippets/init.lua +++ b/config/.config/nvim/lua/eden/mod/snippets/init.lua @@ -4,10 +4,6 @@ return { build = (not jit.os:find("Windows")) and "echo -e 'NOTE: jsregexp is optional, so not a big deal if it fails to build\n'; make install_jsregexp" or nil, - dependencies = { - "rafamadriz/friendly-snippets", - -- config = function() require("luasnip.loaders.from_vscode").lazy_load() end, - }, keys = { -- { -- "", diff --git a/config/.config/nvim/lua/eden/mod/ui.lua b/config/.config/nvim/lua/eden/mod/ui.lua index 301e020c..b4fbfeb2 100644 --- a/config/.config/nvim/lua/eden/mod/ui.lua +++ b/config/.config/nvim/lua/eden/mod/ui.lua @@ -158,36 +158,36 @@ return { }, -- noicer ui - { - "folke/noice.nvim", - event = "VeryLazy", - config = function() - require("noice").setup({ - cmdline = { - view = "cmdline", - }, - lsp = { - override = { - ["vim.lsp.util.convert_input_to_markdown_lines"] = true, - ["vim.lsp.util.stylize_markdown"] = true, - }, - }, - presets = { - bottom_search = true, - long_message_to_split = true, - }, - }) - end, - -- stylua: ignore - keys = { - { "", function() require("noice").redirect(vim.fn.getcmdline()) end, mode = "c", desc = "Redirect Cmdline" }, - { "snl", function() require("noice").cmd("last") end, desc = "Noice Last Message" }, - { "snh", function() require("noice").cmd("history") end, desc = "Noice History" }, - { "sna", function() require("noice").cmd("all") end, desc = "Noice All" }, - { "", function() if not require("noice.lsp").scroll(4) then return "" end end, silent = true, expr = true, desc = "Scroll forward", mode = {"i", "n", "s"} }, - { "", function() if not require("noice.lsp").scroll(-4) then return "" end end, silent = true, expr = true, desc = "Scroll backward", mode = {"i", "n", "s"}}, - }, - }, + -- { + -- "folke/noice.nvim", + -- event = "VeryLazy", + -- config = function() + -- require("noice").setup({ + -- cmdline = { + -- view = "cmdline", + -- }, + -- lsp = { + -- override = { + -- ["vim.lsp.util.convert_input_to_markdown_lines"] = true, + -- ["vim.lsp.util.stylize_markdown"] = true, + -- }, + -- }, + -- presets = { + -- bottom_search = true, + -- long_message_to_split = true, + -- }, + -- }) + -- end, + -- -- stylua: ignore + -- keys = { + -- { "", function() require("noice").redirect(vim.fn.getcmdline()) end, mode = "c", desc = "Redirect Cmdline" }, + -- { "snl", function() require("noice").cmd("last") end, desc = "Noice Last Message" }, + -- { "snh", function() require("noice").cmd("history") end, desc = "Noice History" }, + -- { "sna", function() require("noice").cmd("all") end, desc = "Noice All" }, + -- { "", function() if not require("noice.lsp").scroll(4) then return "" end end, silent = true, expr = true, desc = "Scroll forward", mode = {"i", "n", "s"} }, + -- { "", function() if not require("noice.lsp").scroll(-4) then return "" end end, silent = true, expr = true, desc = "Scroll backward", mode = {"i", "n", "s"}}, + -- }, + -- }, -- dashboard {