Cleaning unused plugins
This commit is contained in:
parent
5b27a06a37
commit
9393f642b5
2 changed files with 0 additions and 64 deletions
|
@ -1,16 +0,0 @@
|
||||||
-- autopairs
|
|
||||||
-- https://github.com/windwp/nvim-autopairs
|
|
||||||
|
|
||||||
return {
|
|
||||||
'windwp/nvim-autopairs',
|
|
||||||
event = 'InsertEnter',
|
|
||||||
-- Optional dependency
|
|
||||||
dependencies = { 'hrsh7th/nvim-cmp' },
|
|
||||||
config = function()
|
|
||||||
require('nvim-autopairs').setup {}
|
|
||||||
-- If you want to automatically add `(` after selecting a function or method
|
|
||||||
local cmp_autopairs = require 'nvim-autopairs.completion.cmp'
|
|
||||||
local cmp = require 'cmp'
|
|
||||||
cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done())
|
|
||||||
end,
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
-- Joinked word-by-word from https://www.lazyvim.org/plugins/editor#troublenvim
|
|
||||||
return { -- Better diagnostics
|
|
||||||
'folke/trouble.nvim',
|
|
||||||
cmd = { 'Trouble' },
|
|
||||||
opts = {
|
|
||||||
modes = {
|
|
||||||
lsp = {
|
|
||||||
win = { position = 'right' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{ '<leader>xx', '<cmd>Trouble diagnostics toggle<cr>', desc = 'Diagnostics (Trouble)' },
|
|
||||||
{ '<leader>xX', '<cmd>Trouble diagnostics toggle filter.buf=0<cr>', desc = 'Buffer Diagnostics (Trouble)' },
|
|
||||||
{ '<leader>cs', '<cmd>Trouble symbols toggle<cr>', desc = 'Symbols (Trouble)' },
|
|
||||||
{ '<leader>cS', '<cmd>Trouble lsp toggle<cr>', desc = 'LSP references/definitions/... (Trouble)' },
|
|
||||||
{ '<leader>xL', '<cmd>Trouble loclist toggle<cr>', desc = 'Location List (Trouble)' },
|
|
||||||
{ '<leader>xQ', '<cmd>Trouble qflist toggle<cr>', desc = 'Quickfix List (Trouble)' },
|
|
||||||
{
|
|
||||||
'[q',
|
|
||||||
function()
|
|
||||||
if require('trouble').is_open() then
|
|
||||||
require('trouble').prev { skip_groups = true, jump = true }
|
|
||||||
else
|
|
||||||
local ok, err = pcall(vim.cmd.cprev)
|
|
||||||
if not ok then
|
|
||||||
vim.notify(err, vim.log.levels.ERROR)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
desc = 'Previous Trouble/Quickfix Item',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
']q',
|
|
||||||
function()
|
|
||||||
if require('trouble').is_open() then
|
|
||||||
require('trouble').next { skip_groups = true, jump = true }
|
|
||||||
else
|
|
||||||
local ok, err = pcall(vim.cmd.cnext)
|
|
||||||
if not ok then
|
|
||||||
vim.notify(err, vim.log.levels.ERROR)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
desc = 'Next Trouble/Quickfix Item',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Reference in a new issue