From 64e24127a93cf5b7baee268369adbcd8a3b2bdb0 Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Thu, 14 Sep 2023 08:52:09 +0530 Subject: [PATCH] refactor: reorder presets config position --- lua/plugins/editor.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index c58c0d2..8c5c13a 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -339,6 +339,14 @@ return { "rcarriga/nvim-notify", }, opts = { + -- you can enable a preset for easier configuration + presets = { + bottom_search = true, -- use a classic bottom cmdline for search + command_palette = true, -- 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 = { @@ -347,14 +355,6 @@ return { ["cmp.entry.get_documentation"] = true, }, }, - -- you can enable a preset for easier configuration - presets = { - bottom_search = true, -- use a classic bottom cmdline for search - command_palette = true, -- 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 = false, -- add a border to hover docs and signature help - }, }, },