Skip to content

Commit

Permalink
fix pandoc.mediabag lua typings
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Dec 20, 2024
1 parent d86da0b commit d8b5e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/changelog-1.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ All changes included in 1.7:
empty list, has no child nodes, and contains no text.
- ([#11699](https://github.com/quarto-dev/quarto-cli/issues/11699)): Fix crash with `video` shortcode inside HTML comments.
- 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.
- Fix `pandoc.mediabag` Lua typings so autocompletions work with the Lua LSP integration.

## Other Fixes and Improvements

Expand Down
1 change: 1 addition & 0 deletions src/resources/lua-types/pandoc/mediabag.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---@meta

---@module 'pandoc.mediabag'
pandoc.mediabag = {}

--[[
Removes a single entry from the media bag.
Expand Down

0 comments on commit d8b5e85

Please sign in to comment.