From 7c865bf17e28fff7409cd69d74d541af69ed43ac Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 11 Dec 2024 16:27:22 +0530 Subject: [PATCH] nvim: plugins: Drop snippets We added snippets support but never use snippets at all. --- nvim/.config/nvim/after/plugin/snippy.lua | 19 ------------------- nvim/.config/nvim/lua/plugins.lua | 3 --- 2 files changed, 22 deletions(-) delete mode 100644 nvim/.config/nvim/after/plugin/snippy.lua diff --git a/nvim/.config/nvim/after/plugin/snippy.lua b/nvim/.config/nvim/after/plugin/snippy.lua deleted file mode 100644 index 0a51c19..0000000 --- a/nvim/.config/nvim/after/plugin/snippy.lua +++ /dev/null @@ -1,19 +0,0 @@ -local snippy_id = vim.api.nvim_create_augroup("snippy", { clear = true }) - -vim.api.nvim_create_autocmd("CompleteDone", { - group = snippy_id, - callback = function() - require("snippy").complete_done() - end, -}) - -require("snippy").setup({ - mappings = { - is = { - [""] = "next", - [""] = "previous", - }, - }, -}) - -vim.keymap.set('i', '', 'lua require(\'snippy\').complete()', { noremap = true, unique = true, silent = true }) diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index fe810a1..5e13cb0 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -6,9 +6,6 @@ require "paq" { 'echasnovski/mini.nvim' , -- FZF 'ibhagwan/fzf-lua' , - -- Snippets - 'dcampos/nvim-snippy' , - 'honza/vim-snippets' , -- Git 'tpope/vim-fugitive' , 'SanchayanMaity/gitlinker.nvim' ,