local neotree = require 'neo-tree'
neotree.setup({
    close_if_last_window = true,
    filesystem = {
        filtered_items = {
            -- when true, they will just be displayed differently
            -- than normal items
            visible = false,
            hide_dotfiles = false,
            hide_gitignored = true,
        },
        follow_current_file = {
            -- follow file in current buffer even iof the file is
            -- loaded while tree is open
            enabled = true,
            -- do not autoclose expanded dirs
            leave_dirs_open = true,
        },
    }
})
