mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
neovim(nvim-tree): Automatically focus opened file
This commit is contained in:
parent
0b720603ba
commit
9e59527e9a
@ -79,7 +79,11 @@
|
|||||||
type = "lua";
|
type = "lua";
|
||||||
config = # lua
|
config = # lua
|
||||||
''
|
''
|
||||||
require("nvim-tree").setup()
|
require("nvim-tree").setup {
|
||||||
|
update_focused_file = {
|
||||||
|
enable = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({"QuitPre"}, {
|
vim.api.nvim_create_autocmd({"QuitPre"}, {
|
||||||
callback = function()
|
callback = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user