diff --git a/config/nvim/lua/config_plugins/config_aerial.lua b/config/nvim/lua/config_plugins/config_aerial.lua index 95605bee..cc8ccc59 100644 --- a/config/nvim/lua/config_plugins/config_aerial.lua +++ b/config/nvim/lua/config_plugins/config_aerial.lua @@ -1,8 +1,11 @@ local aerial = require('aerial') aerial.setup { - backends = { "lsp", "treesitter", "markdown", "man" }, + backends = { + ["_"] = { "lsp", "treesitter", "markdown", "man" }, + python = { "treesitter" }, + }, layout = { - default_direction = "float", + default_direction = "right", placement = "edge", }, attach_mode = "global", @@ -19,6 +22,6 @@ aerial.setup { vim.api.nvim_buf_set_keymap(bufnr, 'n', ']]', 'AerialNextUp', {}) end, open_automatic = false, - close_automatic_events = { "unfocus", "switch_buffer", "unsupported" }, + close_automatic_events = { "unsupported" }, show_guides = true, } diff --git a/config/nvim/lua/config_plugins/config_nvim-tree.lua b/config/nvim/lua/config_plugins/config_nvim-tree.lua index 3d0e2b97..4cf07f34 100644 --- a/config/nvim/lua/config_plugins/config_nvim-tree.lua +++ b/config/nvim/lua/config_plugins/config_nvim-tree.lua @@ -1,11 +1,11 @@ --- vim.g.loaded_netrw = 1 --- vim.g.loaded_netrwPlugin = 1 +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 vim.opt.termguicolors = true require('nvim-tree').setup { - disable_netrw = false, - hijack_netrw = false, - open_on_setup = false, - open_on_setup_file = false, + disable_netrw = true, + hijack_netrw = true, + open_on_setup = true, + open_on_setup_file = true, hijack_cursor = true, sync_root_with_cwd = true, respect_buf_cwd = true, @@ -30,9 +30,6 @@ require('nvim-tree').setup { }, view = { centralize_selection = true, - float = { - enable = true, - }, }, renderer = { add_trailing = true,