Skip to content

Commit

Permalink
fix(options): initialize buffer list on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Apr 1, 2024
1 parent 495a17a commit 8ea4190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/astronvim/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ vim.opt.virtualedit = "block" -- allow going past end of line in visual block mo
vim.opt.wrap = false -- disable wrapping of lines longer than the width of window
vim.opt.writebackup = false -- disable making a backup before overwriting a file

if not vim.t.bufs then vim.t.bufs = vim.api.nvim_list_bufs() end -- initialize buffer list

if type(vim.g.astronvim_options) == "function" then vim.g.astronvim_options() end

local user_opts = "config.options"
Expand Down

0 comments on commit 8ea4190

Please sign in to comment.