Skip to content

Commit 18d1a18

Browse files
authored
fix(docgen): load buffers after opening them (#1657)
1 parent 2f880ad commit 18d1a18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docgen/docgen.lua

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ end
5656
docgen.open_file = function(path)
5757
local uri = vim.uri_from_fname(path)
5858
local buf = vim.uri_to_bufnr(uri)
59+
vim.fn.bufload(buf)
5960

6061
return buf
6162
end

0 commit comments

Comments
 (0)