nvim: plugins: Drop snippets
We added snippets support but never use snippets at all.
This commit is contained in:
parent
4a622b4b74
commit
7c865bf17e
2 changed files with 0 additions and 22 deletions
|
@ -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 })
|
|
@ -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' ,
|
||||
|
|
Loading…
Reference in a new issue