diff --git a/config/nvim/lua/config_plugins/config_aerial.lua b/config/nvim/lua/config_plugins/config_aerial.lua index 3d38e9f9..a05e39a2 100644 --- a/config/nvim/lua/config_plugins/config_aerial.lua +++ b/config/nvim/lua/config_plugins/config_aerial.lua @@ -1,10 +1,17 @@ local aerial = require('aerial') aerial.setup { + backends = { "lsp", "treesitter", "markdown", "man" }, layout = { - placement = "edge", + default_direction = "float", }, - attach_mode = "global", - highlight_mode = "none", manage_folds = true, + close_on_select = true, show_guides = true, + close_automatic_events = { + "unfocus", "switch_buffer", "unsupported" + }, + float = { + relative = "win", + }, + filter_kind = false, } diff --git a/config/nvim/lua/config_plugins/config_lsp.lua b/config/nvim/lua/config_plugins/config_lsp.lua index 0725959d..c5e9a845 100644 --- a/config/nvim/lua/config_plugins/config_lsp.lua +++ b/config/nvim/lua/config_plugins/config_lsp.lua @@ -51,7 +51,7 @@ local on_attach = function(client, bufnr) vim.keymap.set('n', 'gI', vim.lsp.buf.implementation, bufopts) vim.keymap.set('n', 'gi', 'Trouble lsp_implementations', bufopts) vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts) - -- vim.keymap.set('n', '', vim.lsp.buf.signature_help, bufopts) + vim.keymap.set('n', '', vim.lsp.buf.signature_help, bufopts) vim.keymap.set('n', 'wa', vim.lsp.buf.add_workspace_folder, bufopts) vim.keymap.set('n', 'wr', vim.lsp.buf.remove_workspace_folder, bufopts) vim.keymap.set('n', 'wl', function()