add noice & add script to show code actions menu with right mouse

This commit is contained in:
Antoine Vaure 2023-08-17 16:56:00 +02:00
parent fa43825712
commit 1c0761116f
3 changed files with 35 additions and 2 deletions

View file

@ -36,7 +36,7 @@ require("mason-lspconfig").setup_handlers {
require("lspconfig").ltex.setup {
settings = {
ltex = {
language = "fr-FR",
language = "fr",
},
-- set formatter
formatters = {

View file

@ -70,6 +70,7 @@ local plugins = {
mason = true,
neogit = true,
illuminate = false,
noice = true,
telescope = {
enabled = true,
style = "nvchad"
@ -332,7 +333,30 @@ local plugins = {
config = true
},
{ "RRethy/vim-illuminate" },
{ "ofseed/lualine-copilot" }
{ "ofseed/lualine-copilot" },
{
"folke/noice.nvim",
event = "VeryLazy",
opts = {
presets = {
-- you can enable a preset by setting it to true, or a table that will override the preset config
-- you can also add custom presets that you can enable/disable with enabled=true
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = false, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
},
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim",
-- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
"rcarriga/nvim-notify",
}
}
}
return plugins