aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/close-buffer.lua
blob: 947f31a5433f3709fd08d2a2dc2238d9f2096428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
return {
  -- Send buffers into early retirement by automatically closing them after x minutes of inactivity.
  {
    "chrisgrieser/nvim-early-retirement",
    config = true,
    event = "VeryLazy",
    opts = {
      -- if a buffer has been inactive for this many minutes, close it
      retirementAgeMins = 30,
    },
  },
}