nvim/lua/plugins/init.lua

63 lines
1.7 KiB
Lua
Raw Normal View History

2022-12-31 17:43:31 +01:00
return {
2023-01-01 19:36:00 +01:00
'folke/which-key.nvim',
2023-04-08 23:47:10 +02:00
'nvim-lua/plenary.nvim',
2023-01-01 22:55:55 +01:00
'mfussenegger/nvim-jdtls',
2023-04-08 23:47:10 +02:00
'simrat39/rust-tools.nvim',
2023-04-09 00:44:17 +02:00
'MunifTanjim/nui.nvim',
2023-04-08 23:47:10 +02:00
-- 'rcarriga/cmp-dap',
2022-12-31 17:43:31 +01:00
{
2023-04-08 23:47:10 +02:00
'phaazon/hop.nvim', -- event = 'BufRead',
2023-01-01 19:36:00 +01:00
keys = { { 's', ':HopChar2<cr>' }, { 'S', ':HopWord<cr>' } },
2022-12-31 17:43:31 +01:00
config = function()
require('hop').setup()
end,
},
2023-01-19 17:07:15 +01:00
{
'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,
2023-01-19 17:07:15 +01:00
},
2023-04-09 00:44:17 +02:00
{
'folke/noice.nvim',
config = function()
require('noice').setup {
cmdline = {
enabled = true,
view = 'cmdline', -- view for rendering the cmdline. Change to `cmdline` to get a classic cmdline at the bottom
},
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = false, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = true, -- add a border to hover docs and signature help
},
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
['vim.lsp.util.stylize_markdown'] = true,
['cmp.entry.get_documentation'] = true,
},
},
}
end,
},
2022-12-31 17:43:31 +01:00
}