aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/close-buffer.lua
blob: 64a6a8237e013890ad63695abef05b1b0df5cb81 (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 = 120,
    },
  },
}