Revert floating setup for aerial and nvim-tree
This commit is contained in:
parent
33baa46c6b
commit
f6462e25f3
|
@ -1,8 +1,11 @@
|
||||||
local aerial = require('aerial')
|
local aerial = require('aerial')
|
||||||
aerial.setup {
|
aerial.setup {
|
||||||
backends = { "lsp", "treesitter", "markdown", "man" },
|
backends = {
|
||||||
|
["_"] = { "lsp", "treesitter", "markdown", "man" },
|
||||||
|
python = { "treesitter" },
|
||||||
|
},
|
||||||
layout = {
|
layout = {
|
||||||
default_direction = "float",
|
default_direction = "right",
|
||||||
placement = "edge",
|
placement = "edge",
|
||||||
},
|
},
|
||||||
attach_mode = "global",
|
attach_mode = "global",
|
||||||
|
@ -19,6 +22,6 @@ aerial.setup {
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', ']]', '<cmd>AerialNextUp<CR>', {})
|
vim.api.nvim_buf_set_keymap(bufnr, 'n', ']]', '<cmd>AerialNextUp<CR>', {})
|
||||||
end,
|
end,
|
||||||
open_automatic = false,
|
open_automatic = false,
|
||||||
close_automatic_events = { "unfocus", "switch_buffer", "unsupported" },
|
close_automatic_events = { "unsupported" },
|
||||||
show_guides = true,
|
show_guides = true,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
-- vim.g.loaded_netrw = 1
|
vim.g.loaded_netrw = 1
|
||||||
-- vim.g.loaded_netrwPlugin = 1
|
vim.g.loaded_netrwPlugin = 1
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
require('nvim-tree').setup {
|
require('nvim-tree').setup {
|
||||||
disable_netrw = false,
|
disable_netrw = true,
|
||||||
hijack_netrw = false,
|
hijack_netrw = true,
|
||||||
open_on_setup = false,
|
open_on_setup = true,
|
||||||
open_on_setup_file = false,
|
open_on_setup_file = true,
|
||||||
hijack_cursor = true,
|
hijack_cursor = true,
|
||||||
sync_root_with_cwd = true,
|
sync_root_with_cwd = true,
|
||||||
respect_buf_cwd = true,
|
respect_buf_cwd = true,
|
||||||
|
@ -30,9 +30,6 @@ require('nvim-tree').setup {
|
||||||
},
|
},
|
||||||
view = {
|
view = {
|
||||||
centralize_selection = true,
|
centralize_selection = true,
|
||||||
float = {
|
|
||||||
enable = true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
renderer = {
|
renderer = {
|
||||||
add_trailing = true,
|
add_trailing = true,
|
||||||
|
|
Loading…
Reference in a new issue