Skip to content

Commit

Permalink
fix(docgen): load buffers after opening them (#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlubas authored Feb 23, 2025
1 parent 2f880ad commit 18d1a18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docgen/docgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ end
docgen.open_file = function(path)
local uri = vim.uri_from_fname(path)
local buf = vim.uri_to_bufnr(uri)
vim.fn.bufload(buf)

return buf
end
Expand Down

0 comments on commit 18d1a18

Please sign in to comment.