diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua index 6f8e523..79f7050 100644 --- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua +++ b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua @@ -130,6 +130,11 @@ return { special_files = {}, -- Highlight files that have diagnostics highlight_diagnostics = true + }, + update_focused_file = { + -- Focus the file in the tree whenever it is focused in the editor + enable = true + }, }) local whichKey = require("which-key")