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,
|
2023-01-22 16:46:20 +01:00
|
|
|
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
|
2023-04-09 12:42:00 +02:00
|
|
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
2023-04-09 00:44:17 +02:00
|
|
|
},
|
|
|
|
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,
|
|
|
|
},
|
2023-04-09 18:27:34 +02:00
|
|
|
hover = {
|
|
|
|
enabled = false,
|
|
|
|
},
|
|
|
|
signature = {
|
|
|
|
enabled = false,
|
|
|
|
},
|
2023-04-09 00:44:17 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
},
|
2022-12-31 17:43:31 +01:00
|
|
|
}
|