Merge branch 'main' of github.com:elitherl/vim-config into main
This commit is contained in:
commit
4b3277779d
|
@ -1,4 +1,11 @@
|
|||
require('aerial').setup {
|
||||
backends = { "treesitter", "lsp", "markdown", "man" },
|
||||
layout = {
|
||||
default_direction = "right", -- "float",
|
||||
placement = "edge",
|
||||
},
|
||||
attach_mode = "global",
|
||||
lazy_load = false,
|
||||
on_attach = function(bufnr)
|
||||
-- Toggle the aerial window with <leader>a
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>k', '<cmd>AerialToggle!<CR>', {})
|
||||
|
@ -9,4 +16,5 @@ require('aerial').setup {
|
|||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '[[', '<cmd>AerialPrevUp<CR>', {})
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', ']]', '<cmd>AerialNextUp<CR>', {})
|
||||
end,
|
||||
open_automatic = true,
|
||||
}
|
||||
|
|
|
@ -1,6 +1,17 @@
|
|||
vim.g.loaded = 1
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
require('nvim-tree').setup {
|
||||
open_on_setup=true,
|
||||
open_on_setup_file=true,
|
||||
hijack_cursor=true,
|
||||
sync_root_with_cwd=true,
|
||||
update_focused_file = {
|
||||
enable = true,
|
||||
},
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
show_on_dirs = true,
|
||||
},
|
||||
filters = { custom = { "^.git$" } },
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
|
|
|
@ -3,6 +3,6 @@ require 'nvim-treesitter.configs'.setup {
|
|||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
disable = { 'help' },
|
||||
disable = { 'help', 'fortran' },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue