nvim/lua/plugins/init.lua

40 lines
895 B
Lua

return {
'nvim-lua/plenary.nvim',
'folke/which-key.nvim',
'williamboman/mason-lspconfig.nvim',
'mfussenegger/nvim-jdtls',
{
'phaazon/hop.nvim',
-- event = 'BufRead',
keys = { { 's', ':HopChar2<cr>' }, { 'S', ':HopWord<cr>' } },
config = function()
require('hop').setup()
end,
},
'rcarriga/cmp-dap',
{
'stevearc/dressing.nvim',
lazy = true,
init = function()
vim.ui.select = function(...)
require('lazy').load { plugins = { 'dressing.nvim' } }
return vim.ui.select(...)
end
vim.ui.input = function(...)
require('lazy').load { plugins = { 'dressing.nvim' } }
return vim.ui.input(...)
end
end,
config = function()
require('dressing').setup {
select = {
trim_prompt = false,
},
}
end,
},
{ 'nvim-tree/nvim-web-devicons', lazy = true },
'simrat39/rust-tools.nvim',
-- { 'dstein64/vim-startuptime', lazy = false },
}