neovim: Start Neotree in the config function
...so that our config is actually applied when we start
This commit is contained in:
parent
ebb90199fc
commit
3758670e5b
|
@ -65,6 +65,3 @@ function _G.set_focus_keymaps()
|
|||
end
|
||||
EOF
|
||||
autocmd BufEnter * lua set_focus_keymaps()
|
||||
|
||||
" Startup commands
|
||||
autocmd UIEnter * Neotree
|
||||
|
|
|
@ -41,12 +41,15 @@ return require('packer').startup(function(use)
|
|||
"kyazdani42/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function() require("neo-tree").setup({
|
||||
window = {
|
||||
position = "left",
|
||||
width = 36,
|
||||
},
|
||||
}) end,
|
||||
config = function()
|
||||
require("neo-tree").setup({
|
||||
window = {
|
||||
position = "left",
|
||||
width = 36,
|
||||
},
|
||||
})
|
||||
require("neo-tree.sources.manager").show("filesystem")
|
||||
end,
|
||||
}
|
||||
|
||||
-- Tabs
|
||||
|
|
Loading…
Reference in a new issue