Skip to content

Commit d8b5e85

Browse files
committed
fix pandoc.mediabag lua typings
1 parent d86da0b commit d8b5e85

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

news/changelog-1.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ All changes included in 1.7:
3636
empty list, has no child nodes, and contains no text.
3737
- ([#11699](https://github.com/quarto-dev/quarto-cli/issues/11699)): Fix crash with `video` shortcode inside HTML comments.
3838
- Expose new `quarto.paths.tinytex_bin_dir` in Quarto's Lua API. If TinyTeX is found by Quarto, this will be set to the path to the `bin` directory of the TinyTeX installation where command line tool are located (e.g., `pdflatex`, `tlmgr`, etc.). If TinyTeX is not found, this will be `nil`, meaning Quarto will use the system PATH to find the command line tools.
39+
- Fix `pandoc.mediabag` Lua typings so autocompletions work with the Lua LSP integration.
3940

4041
## Other Fixes and Improvements
4142

src/resources/lua-types/pandoc/mediabag.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---@meta
22

33
---@module 'pandoc.mediabag'
4+
pandoc.mediabag = {}
45

56
--[[
67
Removes a single entry from the media bag.

0 commit comments

Comments
 (0)