nvim: plugins: Drop snippets

We added snippets support but never use snippets at all.
This commit is contained in:
Sanchayan Maity 2024-12-11 16:27:22 +05:30
parent 4a622b4b74
commit 7c865bf17e
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
2 changed files with 0 additions and 22 deletions

View file

@ -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 = {
["<tab>"] = "next",
["<s-tab>"] = "previous",
},
},
})
vim.keymap.set('i', '<C-x><C-u>', '<cmd>lua require(\'snippy\').complete()<CR>', { noremap = true, unique = true, silent = true })

View file

@ -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' ,