Revert floating setup for aerial and nvim-tree

This commit is contained in:
Evie Litherland-Smith 2023-01-27 22:12:42 +00:00
parent 33baa46c6b
commit f6462e25f3
2 changed files with 12 additions and 12 deletions

View file

@ -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', ']]', '<cmd>AerialNextUp<CR>', {})
end,
open_automatic = false,
close_automatic_events = { "unfocus", "switch_buffer", "unsupported" },
close_automatic_events = { "unsupported" },
show_guides = true,
}

View file

@ -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,