nvim-tree variable width
English · Français
April 26, 2025
Antre du Tryphon

nvim-tree variable width

April 26, 2025 · ctheroux NVIM

In order for nvim-tree to adapt its width to its content, create a file named ~/.config/nvim/lua/plugins/nvim-tree.lua. Put the following content into it.

return {
    "nvim-tree/nvim-tree.lua",
    opts = {
        view = { adaptive_size = true }
    }
}

Leave a Comment

Replying to
Your email address will not be published.

Copyright 2012–2026, Claude "Tryphon" Théroux