panache-cli 2.56.0__tar.gz → 2.57.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. {panache_cli-2.56.0 → panache_cli-2.57.0}/Cargo.lock +65 -199
  2. {panache_cli-2.56.0 → panache_cli-2.57.0}/Cargo.toml +3 -3
  3. {panache_cli-2.56.0 → panache_cli-2.57.0}/PKG-INFO +1 -1
  4. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/CHANGELOG.md +13 -0
  5. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/Cargo.toml +2 -2
  6. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/directives.rs +1 -0
  7. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/core.rs +5 -2
  8. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/indent_utils.rs +97 -0
  9. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/lists.rs +12 -4
  10. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/tables.rs +364 -601
  11. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/document.rs +57 -39
  12. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter.rs +1 -0
  13. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/lib.rs +1 -0
  14. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/utils.rs +1 -0
  15. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/CHANGELOG.md +15 -0
  16. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/Cargo.toml +2 -1
  17. panache_cli-2.57.0/crates/panache-parser/src/grid_layout.rs +235 -0
  18. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/lib.rs +2 -0
  19. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/pandoc_ast.rs +191 -265
  20. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/block_dispatcher.rs +65 -35
  21. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/html_blocks.rs +40 -3
  22. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tables.rs +25 -13
  23. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/citations.rs +92 -0
  24. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/refdef_map.rs +1 -1
  25. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/helpers.rs +125 -0
  26. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/list_item_buffer.rs +2 -2
  27. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/headings.rs +23 -7
  28. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/kind.rs +16 -0
  29. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/directives.rs +1 -0
  30. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/diagnostics.rs +1 -1
  31. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/adjacent_footnote_refs.rs +11 -1
  32. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/chunk_label_spaces.rs +11 -1
  33. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/citation_keys.rs +62 -1
  34. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/crossref_as_link_target.rs +11 -1
  35. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/duplicate_references.rs +11 -1
  36. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/emoji_aliases.rs +11 -1
  37. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/empty_list_item.rs +11 -1
  38. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/figure_crossref_captions.rs +11 -1
  39. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/footnote_ref_in_footnote_def.rs +11 -1
  40. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/heading_eaten_attrs.rs +11 -1
  41. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/heading_hierarchy.rs +19 -1
  42. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/heading_strip_comments_residue.rs +11 -1
  43. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/html_entities.rs +12 -1
  44. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/link_text_is_url.rs +11 -1
  45. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/math_content.rs +19 -1
  46. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/missing_chunk_labels.rs +11 -1
  47. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/stray_fenced_div_markers.rs +11 -1
  48. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/undefined_anchor.rs +11 -1
  49. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/undefined_references.rs +16 -1
  50. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/rules/unused_definitions.rs +16 -1
  51. panache_cli-2.57.0/src/linter/rules.rs +233 -0
  52. panache_cli-2.57.0/src/linter.rs +120 -0
  53. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/dispatch.rs +307 -92
  54. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/documents.rs +53 -23
  55. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/global_state.rs +242 -48
  56. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/completion.rs +3 -19
  57. panache_cli-2.57.0/src/lsp/handlers/diagnostics.rs +400 -0
  58. panache_cli-2.57.0/src/lsp/handlers/file_operations.rs +94 -0
  59. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/file_rename.rs +146 -7
  60. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/file_watcher.rs +13 -11
  61. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/folding_ranges.rs +1 -1
  62. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/formatting.rs +49 -1
  63. panache_cli-2.57.0/src/lsp/handlers/semantic_tokens.rs +254 -0
  64. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/shortcode_args.rs +25 -0
  65. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers.rs +2 -0
  66. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/testing.rs +212 -4
  67. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/salsa.rs +19 -10
  68. panache_cli-2.56.0/src/linter/rules.rs +0 -119
  69. panache_cli-2.56.0/src/linter.rs +0 -159
  70. panache_cli-2.56.0/src/lsp/handlers/diagnostics.rs +0 -207
  71. {panache_cli-2.56.0 → panache_cli-2.57.0}/LICENSE +0 -0
  72. {panache_cli-2.56.0 → panache_cli-2.57.0}/README.md +0 -0
  73. {panache_cli-2.56.0 → panache_cli-2.57.0}/build.rs +0 -0
  74. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/README.md +0 -0
  75. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/config.rs +0 -0
  76. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/blockquotes.rs +0 -0
  77. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/code_blocks.rs +0 -0
  78. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/fenced_divs.rs +0 -0
  79. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/hashpipe.rs +0 -0
  80. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/headings.rs +0 -0
  81. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/inline.rs +0 -0
  82. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/inline_layout.rs +0 -0
  83. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/math/STYLE.md +0 -0
  84. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/math/linebreak.rs +0 -0
  85. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/math/operators.rs +0 -0
  86. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/math/render.rs +0 -0
  87. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/math.rs +0 -0
  88. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/metadata.rs +0 -0
  89. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/paragraphs.rs +0 -0
  90. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/sentence_wrap.rs +0 -0
  91. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/shortcodes.rs +0 -0
  92. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/smart.rs +0 -0
  93. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/utils.rs +0 -0
  94. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/STYLE.md +0 -0
  95. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/block_map.rs +0 -0
  96. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/block_sequence.rs +0 -0
  97. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/flow.rs +0 -0
  98. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/options.rs +0 -0
  99. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml/scalar.rs +0 -0
  100. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/formatter/yaml.rs +0 -0
  101. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/parser.rs +0 -0
  102. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/syntax.rs +0 -0
  103. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-formatter/src/yaml_engine.rs +0 -0
  104. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/README.md +0 -0
  105. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/build.rs +0 -0
  106. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/options.rs +0 -0
  107. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/blockquotes.rs +0 -0
  108. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/code_blocks.rs +0 -0
  109. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/container_prefix.rs +0 -0
  110. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/definition_lists.rs +0 -0
  111. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/fenced_divs.rs +0 -0
  112. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/figures.rs +0 -0
  113. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/headings.rs +0 -0
  114. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/horizontal_rules.rs +0 -0
  115. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/indented_code.rs +0 -0
  116. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/latex_envs.rs +0 -0
  117. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/line_blocks.rs +0 -0
  118. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/lists.rs +0 -0
  119. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/metadata.rs +0 -0
  120. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/paragraphs.rs +0 -0
  121. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/raw_blocks.rs +0 -0
  122. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/reference_links.rs +0 -0
  123. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/blanklines.rs +0 -0
  124. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/blockquotes.rs +0 -0
  125. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/code_blocks.rs +0 -0
  126. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/definition_lists.rs +0 -0
  127. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/headings.rs +0 -0
  128. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/helpers.rs +0 -0
  129. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/lists.rs +0 -0
  130. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/losslessness.rs +0 -0
  131. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks/tests/metadata_guards.rs +0 -0
  132. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/blocks.rs +0 -0
  133. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/core.rs +0 -0
  134. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/diagnostics.rs +0 -0
  135. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/bookdown.rs +0 -0
  136. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/bracketed_spans.rs +0 -0
  137. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/code_spans.rs +0 -0
  138. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/core.rs +0 -0
  139. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/emoji.rs +0 -0
  140. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/escapes.rs +0 -0
  141. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/inline_executable.rs +0 -0
  142. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/inline_footnotes.rs +0 -0
  143. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/inline_html.rs +0 -0
  144. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/inline_ir.rs +0 -0
  145. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/latex.rs +0 -0
  146. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/links.rs +0 -0
  147. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/mark.rs +0 -0
  148. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/math.rs +0 -0
  149. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/native_spans.rs +0 -0
  150. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/raw_inline.rs +0 -0
  151. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/shortcodes.rs +0 -0
  152. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/sink.rs +0 -0
  153. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/strikeout.rs +0 -0
  154. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/subscript.rs +0 -0
  155. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/superscript.rs +0 -0
  156. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/tests.rs +0 -0
  157. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/uri-schemes.csv +0 -0
  158. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines/wikilinks.rs +0 -0
  159. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/inlines.rs +0 -0
  160. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/math.rs +0 -0
  161. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/attributes.rs +0 -0
  162. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/chunk_options.rs +0 -0
  163. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/container_stack.rs +0 -0
  164. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/continuation.rs +0 -0
  165. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/inline_emission.rs +0 -0
  166. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/marker_utils.rs +0 -0
  167. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/text_buffer.rs +0 -0
  168. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/tree_copy.rs +0 -0
  169. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils/yaml_regions.rs +0 -0
  170. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/utils.rs +0 -0
  171. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/cooking.rs +0 -0
  172. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/events.rs +0 -0
  173. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/model.rs +0 -0
  174. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/parser.rs +0 -0
  175. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/profile.rs +0 -0
  176. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/scanner.rs +0 -0
  177. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml/validator.rs +0 -0
  178. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser/yaml.rs +0 -0
  179. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/parser.rs +0 -0
  180. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/range_utils.rs +0 -0
  181. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/alerts.rs +0 -0
  182. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/ast.rs +0 -0
  183. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/attributes.rs +0 -0
  184. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/block_quotes.rs +0 -0
  185. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/blocks.rs +0 -0
  186. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/chunk_options.rs +0 -0
  187. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/citations.rs +0 -0
  188. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/code_blocks.rs +0 -0
  189. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/crossrefs.rs +0 -0
  190. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/definitions.rs +0 -0
  191. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/fenced_divs.rs +0 -0
  192. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/inlines.rs +0 -0
  193. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/links.rs +0 -0
  194. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/lists.rs +0 -0
  195. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/math.rs +0 -0
  196. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/raw_tex.rs +0 -0
  197. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/references.rs +0 -0
  198. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/shortcodes.rs +0 -0
  199. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/tables.rs +0 -0
  200. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/yaml.rs +0 -0
  201. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax/yaml_ast.rs +0 -0
  202. {panache_cli-2.56.0 → panache_cli-2.57.0}/crates/panache-parser/src/syntax.rs +0 -0
  203. {panache_cli-2.56.0 → panache_cli-2.57.0}/pyproject.toml +0 -0
  204. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/bib/bibtex.rs +0 -0
  205. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/bib/csl_json.rs +0 -0
  206. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/bib/csl_yaml.rs +0 -0
  207. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/bib/index.rs +0 -0
  208. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/bib/ris.rs +0 -0
  209. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/bib.rs +0 -0
  210. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/cache.rs +0 -0
  211. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/cli.rs +0 -0
  212. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/config/formatter_presets.rs +0 -0
  213. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/config/types/schema_helpers.rs +0 -0
  214. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/config/types.rs +0 -0
  215. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/config.rs +0 -0
  216. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/diagnostic_renderer.rs +0 -0
  217. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/external_formatters_common.rs +0 -0
  218. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/external_formatters_sync.rs +0 -0
  219. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/external_tools_common.rs +0 -0
  220. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/formatter.rs +0 -0
  221. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/includes.rs +0 -0
  222. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lib.rs +0 -0
  223. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/code_block_collector.rs +0 -0
  224. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters/clippy.rs +0 -0
  225. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters/eslint.rs +0 -0
  226. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters/jarl.rs +0 -0
  227. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters/ruff.rs +0 -0
  228. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters/shellcheck.rs +0 -0
  229. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters/staticcheck.rs +0 -0
  230. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters.rs +0 -0
  231. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/external_linters_sync.rs +0 -0
  232. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/index.rs +0 -0
  233. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/metadata_diagnostics.rs +0 -0
  234. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/offsets.rs +0 -0
  235. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/linter/runner.rs +0 -0
  236. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/config.rs +0 -0
  237. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/context.rs +0 -0
  238. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/conversions.rs +0 -0
  239. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/code_actions.rs +0 -0
  240. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/document_links.rs +0 -0
  241. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/document_symbols.rs +0 -0
  242. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/footnote_conversion.rs +0 -0
  243. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/goto_definition.rs +0 -0
  244. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/heading_link_conversion.rs +0 -0
  245. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/hover.rs +0 -0
  246. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/link_conversion.rs +0 -0
  247. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/list_conversion.rs +0 -0
  248. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/prepare_rename.rs +0 -0
  249. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/references.rs +0 -0
  250. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/rename.rs +0 -0
  251. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/handlers/workspace_symbols.rs +0 -0
  252. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/helpers.rs +0 -0
  253. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/navigation.rs +0 -0
  254. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/symbols.rs +0 -0
  255. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/task_pool.rs +0 -0
  256. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp/uri_ext.rs +0 -0
  257. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/lsp.rs +0 -0
  258. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/main.rs +0 -0
  259. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/metadata/bibliography.rs +0 -0
  260. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/metadata/citations.rs +0 -0
  261. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/metadata/project.rs +0 -0
  262. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/metadata/references.rs +0 -0
  263. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/metadata/yaml.rs +0 -0
  264. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/metadata.rs +0 -0
  265. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/parser.rs +0 -0
  266. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/range_utils.rs +0 -0
  267. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/syntax.rs +0 -0
  268. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/utils.rs +0 -0
  269. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/yaml_engine.rs +0 -0
  270. {panache_cli-2.56.0 → panache_cli-2.57.0}/src/yaml_regions.rs +0 -0
@@ -92,12 +92,6 @@ dependencies = [
92
92
  "windows-sys",
93
93
  ]
94
94
 
95
- [[package]]
96
- name = "anyhow"
97
- version = "1.0.102"
98
- source = "registry+https://github.com/rust-lang/crates.io-index"
99
- checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
100
-
101
95
  [[package]]
102
96
  name = "assert_cmd"
103
97
  version = "2.2.2"
@@ -361,6 +355,38 @@ version = "2.11.0"
361
355
  source = "registry+https://github.com/rust-lang/crates.io-index"
362
356
  checksum = "a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8"
363
357
 
358
+ [[package]]
359
+ name = "defmt"
360
+ version = "1.1.0"
361
+ source = "registry+https://github.com/rust-lang/crates.io-index"
362
+ checksum = "a6e524506490a1953d237cb87b1cfc1e46f88c18f10a22dfe0f507dc6bfc7f7f"
363
+ dependencies = [
364
+ "bitflags 1.3.2",
365
+ "defmt-macros",
366
+ ]
367
+
368
+ [[package]]
369
+ name = "defmt-macros"
370
+ version = "1.1.0"
371
+ source = "registry+https://github.com/rust-lang/crates.io-index"
372
+ checksum = "f0a27770e9c8f719a79d8b638281f4d828f77d8fd61e0bd94451b9b85e576a0b"
373
+ dependencies = [
374
+ "defmt-parser",
375
+ "proc-macro-error2",
376
+ "proc-macro2",
377
+ "quote",
378
+ "syn",
379
+ ]
380
+
381
+ [[package]]
382
+ name = "defmt-parser"
383
+ version = "1.0.0"
384
+ source = "registry+https://github.com/rust-lang/crates.io-index"
385
+ checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
386
+ dependencies = [
387
+ "thiserror",
388
+ ]
389
+
364
390
  [[package]]
365
391
  name = "difflib"
366
392
  version = "0.4.0"
@@ -526,12 +552,6 @@ dependencies = [
526
552
  "serde",
527
553
  ]
528
554
 
529
- [[package]]
530
- name = "foldhash"
531
- version = "0.1.5"
532
- source = "registry+https://github.com/rust-lang/crates.io-index"
533
- checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
534
-
535
555
  [[package]]
536
556
  name = "foldhash"
537
557
  version = "0.2.0"
@@ -599,15 +619,13 @@ dependencies = [
599
619
 
600
620
  [[package]]
601
621
  name = "getrandom"
602
- version = "0.4.2"
622
+ version = "0.4.3"
603
623
  source = "registry+https://github.com/rust-lang/crates.io-index"
604
- checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555"
624
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
605
625
  dependencies = [
606
626
  "cfg-if",
607
627
  "libc",
608
628
  "r-efi 6.0.0",
609
- "wasip2",
610
- "wasip3",
611
629
  ]
612
630
 
613
631
  [[package]]
@@ -629,15 +647,6 @@ version = "0.14.5"
629
647
  source = "registry+https://github.com/rust-lang/crates.io-index"
630
648
  checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
631
649
 
632
- [[package]]
633
- name = "hashbrown"
634
- version = "0.15.5"
635
- source = "registry+https://github.com/rust-lang/crates.io-index"
636
- checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
637
- dependencies = [
638
- "foldhash 0.1.5",
639
- ]
640
-
641
650
  [[package]]
642
651
  name = "hashbrown"
643
652
  version = "0.16.1"
@@ -646,7 +655,7 @@ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
646
655
  dependencies = [
647
656
  "allocator-api2",
648
657
  "equivalent",
649
- "foldhash 0.2.0",
658
+ "foldhash",
650
659
  ]
651
660
 
652
661
  [[package]]
@@ -657,7 +666,7 @@ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
657
666
  dependencies = [
658
667
  "allocator-api2",
659
668
  "equivalent",
660
- "foldhash 0.2.0",
669
+ "foldhash",
661
670
  ]
662
671
 
663
672
  [[package]]
@@ -763,12 +772,6 @@ dependencies = [
763
772
  "zerovec",
764
773
  ]
765
774
 
766
- [[package]]
767
- name = "id-arena"
768
- version = "2.3.0"
769
- source = "registry+https://github.com/rust-lang/crates.io-index"
770
- checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
771
-
772
775
  [[package]]
773
776
  name = "ident_case"
774
777
  version = "1.0.1"
@@ -820,8 +823,6 @@ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
820
823
  dependencies = [
821
824
  "equivalent",
822
825
  "hashbrown 0.17.1",
823
- "serde",
824
- "serde_core",
825
826
  ]
826
827
 
827
828
  [[package]]
@@ -869,10 +870,11 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
869
870
 
870
871
  [[package]]
871
872
  name = "jiff"
872
- version = "0.2.28"
873
+ version = "0.2.29"
873
874
  source = "registry+https://github.com/rust-lang/crates.io-index"
874
- checksum = "4603d3033e49e2b0e31229fcab20a5d40089c607d975cd9c80551dc69eed9102"
875
+ checksum = "34f877a98676d2fb664698d74cc6a51ce6c484ce8c770f05d0108ec9090aeb46"
875
876
  dependencies = [
877
+ "defmt",
876
878
  "jiff-static",
877
879
  "log",
878
880
  "portable-atomic",
@@ -882,9 +884,9 @@ dependencies = [
882
884
 
883
885
  [[package]]
884
886
  name = "jiff-static"
885
- version = "0.2.28"
887
+ version = "0.2.29"
886
888
  source = "registry+https://github.com/rust-lang/crates.io-index"
887
- checksum = "782d32378dddf207193ac91cefb848ad41abb58195c95168e1291227a0832b47"
889
+ checksum = "0666b5ab5ecaca213fc2a85b8c0083d9004e84ee2d5f9a7e0017aaf50986f25f"
888
890
  dependencies = [
889
891
  "proc-macro2",
890
892
  "quote",
@@ -935,12 +937,6 @@ version = "1.5.0"
935
937
  source = "registry+https://github.com/rust-lang/crates.io-index"
936
938
  checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
937
939
 
938
- [[package]]
939
- name = "leb128fmt"
940
- version = "0.1.0"
941
- source = "registry+https://github.com/rust-lang/crates.io-index"
942
- checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
943
-
944
940
  [[package]]
945
941
  name = "libc"
946
942
  version = "0.2.186"
@@ -979,9 +975,9 @@ dependencies = [
979
975
 
980
976
  [[package]]
981
977
  name = "log"
982
- version = "0.4.32"
978
+ version = "0.4.33"
983
979
  source = "registry+https://github.com/rust-lang/crates.io-index"
984
- checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a"
980
+ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
985
981
 
986
982
  [[package]]
987
983
  name = "lsp-server"
@@ -1151,7 +1147,7 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
1151
1147
 
1152
1148
  [[package]]
1153
1149
  name = "panache"
1154
- version = "2.56.0"
1150
+ version = "2.57.0"
1155
1151
  dependencies = [
1156
1152
  "annotate-snippets",
1157
1153
  "assert_cmd",
@@ -1194,7 +1190,7 @@ dependencies = [
1194
1190
 
1195
1191
  [[package]]
1196
1192
  name = "panache-formatter"
1197
- version = "0.14.0"
1193
+ version = "0.15.0"
1198
1194
  dependencies = [
1199
1195
  "insta",
1200
1196
  "log",
@@ -1212,11 +1208,12 @@ dependencies = [
1212
1208
 
1213
1209
  [[package]]
1214
1210
  name = "panache-parser"
1215
- version = "0.17.2"
1211
+ version = "0.18.0"
1216
1212
  dependencies = [
1217
1213
  "entities",
1218
1214
  "insta",
1219
1215
  "log",
1216
+ "memchr",
1220
1217
  "rowan",
1221
1218
  "schemars",
1222
1219
  "serde",
@@ -1360,12 +1357,24 @@ dependencies = [
1360
1357
  ]
1361
1358
 
1362
1359
  [[package]]
1363
- name = "prettyplease"
1364
- version = "0.2.37"
1360
+ name = "proc-macro-error-attr2"
1361
+ version = "2.0.0"
1365
1362
  source = "registry+https://github.com/rust-lang/crates.io-index"
1366
- checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
1363
+ checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"
1367
1364
  dependencies = [
1368
1365
  "proc-macro2",
1366
+ "quote",
1367
+ ]
1368
+
1369
+ [[package]]
1370
+ name = "proc-macro-error2"
1371
+ version = "2.0.1"
1372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1373
+ checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"
1374
+ dependencies = [
1375
+ "proc-macro-error-attr2",
1376
+ "proc-macro2",
1377
+ "quote",
1369
1378
  "syn",
1370
1379
  ]
1371
1380
 
@@ -1647,12 +1656,6 @@ version = "1.2.0"
1647
1656
  source = "registry+https://github.com/rust-lang/crates.io-index"
1648
1657
  checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1649
1658
 
1650
- [[package]]
1651
- name = "semver"
1652
- version = "1.0.28"
1653
- source = "registry+https://github.com/rust-lang/crates.io-index"
1654
- checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
1655
-
1656
1659
  [[package]]
1657
1660
  name = "serde"
1658
1661
  version = "1.0.228"
@@ -1812,7 +1815,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1812
1815
  checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
1813
1816
  dependencies = [
1814
1817
  "fastrand",
1815
- "getrandom 0.4.2",
1818
+ "getrandom 0.4.3",
1816
1819
  "once_cell",
1817
1820
  "rustix",
1818
1821
  "windows-sys",
@@ -1960,12 +1963,6 @@ version = "0.2.2"
1960
1963
  source = "registry+https://github.com/rust-lang/crates.io-index"
1961
1964
  checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
1962
1965
 
1963
- [[package]]
1964
- name = "unicode-xid"
1965
- version = "0.2.6"
1966
- source = "registry+https://github.com/rust-lang/crates.io-index"
1967
- checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
1968
-
1969
1966
  [[package]]
1970
1967
  name = "utf8_iter"
1971
1968
  version = "1.0.4"
@@ -1984,7 +1981,7 @@ version = "1.23.3"
1984
1981
  source = "registry+https://github.com/rust-lang/crates.io-index"
1985
1982
  checksum = "144d6b123cef80b301b8f72a9e2ca4370ddec21950d0a103dd22c437006d2db7"
1986
1983
  dependencies = [
1987
- "getrandom 0.4.2",
1984
+ "getrandom 0.4.3",
1988
1985
  "js-sys",
1989
1986
  "wasm-bindgen",
1990
1987
  ]
@@ -2042,16 +2039,7 @@ version = "1.0.4+wasi-0.2.12"
2042
2039
  source = "registry+https://github.com/rust-lang/crates.io-index"
2043
2040
  checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
2044
2041
  dependencies = [
2045
- "wit-bindgen 0.57.1",
2046
- ]
2047
-
2048
- [[package]]
2049
- name = "wasip3"
2050
- version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
2051
- source = "registry+https://github.com/rust-lang/crates.io-index"
2052
- checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
2053
- dependencies = [
2054
- "wit-bindgen 0.51.0",
2042
+ "wit-bindgen",
2055
2043
  ]
2056
2044
 
2057
2045
  [[package]]
@@ -2099,40 +2087,6 @@ dependencies = [
2099
2087
  "unicode-ident",
2100
2088
  ]
2101
2089
 
2102
- [[package]]
2103
- name = "wasm-encoder"
2104
- version = "0.244.0"
2105
- source = "registry+https://github.com/rust-lang/crates.io-index"
2106
- checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
2107
- dependencies = [
2108
- "leb128fmt",
2109
- "wasmparser",
2110
- ]
2111
-
2112
- [[package]]
2113
- name = "wasm-metadata"
2114
- version = "0.244.0"
2115
- source = "registry+https://github.com/rust-lang/crates.io-index"
2116
- checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
2117
- dependencies = [
2118
- "anyhow",
2119
- "indexmap",
2120
- "wasm-encoder",
2121
- "wasmparser",
2122
- ]
2123
-
2124
- [[package]]
2125
- name = "wasmparser"
2126
- version = "0.244.0"
2127
- source = "registry+https://github.com/rust-lang/crates.io-index"
2128
- checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
2129
- dependencies = [
2130
- "bitflags 2.13.0",
2131
- "hashbrown 0.15.5",
2132
- "indexmap",
2133
- "semver",
2134
- ]
2135
-
2136
2090
  [[package]]
2137
2091
  name = "which"
2138
2092
  version = "8.0.4"
@@ -2206,100 +2160,12 @@ version = "1.0.3"
2206
2160
  source = "registry+https://github.com/rust-lang/crates.io-index"
2207
2161
  checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1"
2208
2162
 
2209
- [[package]]
2210
- name = "wit-bindgen"
2211
- version = "0.51.0"
2212
- source = "registry+https://github.com/rust-lang/crates.io-index"
2213
- checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
2214
- dependencies = [
2215
- "wit-bindgen-rust-macro",
2216
- ]
2217
-
2218
2163
  [[package]]
2219
2164
  name = "wit-bindgen"
2220
2165
  version = "0.57.1"
2221
2166
  source = "registry+https://github.com/rust-lang/crates.io-index"
2222
2167
  checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
2223
2168
 
2224
- [[package]]
2225
- name = "wit-bindgen-core"
2226
- version = "0.51.0"
2227
- source = "registry+https://github.com/rust-lang/crates.io-index"
2228
- checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
2229
- dependencies = [
2230
- "anyhow",
2231
- "heck",
2232
- "wit-parser",
2233
- ]
2234
-
2235
- [[package]]
2236
- name = "wit-bindgen-rust"
2237
- version = "0.51.0"
2238
- source = "registry+https://github.com/rust-lang/crates.io-index"
2239
- checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
2240
- dependencies = [
2241
- "anyhow",
2242
- "heck",
2243
- "indexmap",
2244
- "prettyplease",
2245
- "syn",
2246
- "wasm-metadata",
2247
- "wit-bindgen-core",
2248
- "wit-component",
2249
- ]
2250
-
2251
- [[package]]
2252
- name = "wit-bindgen-rust-macro"
2253
- version = "0.51.0"
2254
- source = "registry+https://github.com/rust-lang/crates.io-index"
2255
- checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
2256
- dependencies = [
2257
- "anyhow",
2258
- "prettyplease",
2259
- "proc-macro2",
2260
- "quote",
2261
- "syn",
2262
- "wit-bindgen-core",
2263
- "wit-bindgen-rust",
2264
- ]
2265
-
2266
- [[package]]
2267
- name = "wit-component"
2268
- version = "0.244.0"
2269
- source = "registry+https://github.com/rust-lang/crates.io-index"
2270
- checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
2271
- dependencies = [
2272
- "anyhow",
2273
- "bitflags 2.13.0",
2274
- "indexmap",
2275
- "log",
2276
- "serde",
2277
- "serde_derive",
2278
- "serde_json",
2279
- "wasm-encoder",
2280
- "wasm-metadata",
2281
- "wasmparser",
2282
- "wit-parser",
2283
- ]
2284
-
2285
- [[package]]
2286
- name = "wit-parser"
2287
- version = "0.244.0"
2288
- source = "registry+https://github.com/rust-lang/crates.io-index"
2289
- checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
2290
- dependencies = [
2291
- "anyhow",
2292
- "id-arena",
2293
- "indexmap",
2294
- "log",
2295
- "semver",
2296
- "serde",
2297
- "serde_derive",
2298
- "serde_json",
2299
- "unicode-xid",
2300
- "wasmparser",
2301
- ]
2302
-
2303
2169
  [[package]]
2304
2170
  name = "writeable"
2305
2171
  version = "0.6.3"
@@ -7,7 +7,7 @@ authors = ["Johan Larsson <johan@jolars.co>"]
7
7
 
8
8
  [package]
9
9
  name = "panache"
10
- version = "2.56.0"
10
+ version = "2.57.0"
11
11
  edition.workspace = true
12
12
  readme = "README.md"
13
13
  description = "An LSP, formatter, and linter for Markdown, Quarto, and R Markdown"
@@ -41,8 +41,8 @@ path = "src/main.rs"
41
41
  required-features = ["cli"]
42
42
 
43
43
  [dependencies]
44
- panache-formatter = { path = "crates/panache-formatter", version = "0.14.0" }
45
- panache-parser = { path = "crates/panache-parser", version = "0.17.2", features = [
44
+ panache-formatter = { path = "crates/panache-formatter", version = "0.15.0" }
45
+ panache-parser = { path = "crates/panache-parser", version = "0.18.0", features = [
46
46
  "serde",
47
47
  "schema",
48
48
  ] }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: panache-cli
3
- Version: 2.56.0
3
+ Version: 2.57.0
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.15.0](https://github.com/jolars/panache/compare/panache-formatter-v0.14.0...panache-formatter-v0.15.0) (2026-06-21)
4
+
5
+ ### Features
6
+ - **lsp:** on-type continuation indent for lists ([`3c9bc3a`](https://github.com/jolars/panache/commit/3c9bc3a827ee9dd0aad8b3dc63fc3f3e0263d41b))
7
+ - **parser:** retag comment/PI/verbatim as `HTML_BLOCK_RAW` ([`447d537`](https://github.com/jolars/panache/commit/447d537dcbd6bdff6f55d95cb04b17cd9fd17574))
8
+ - **parser:** tokenize table separator rows in the CST ([`3de91a6`](https://github.com/jolars/panache/commit/3de91a623762282b07ede9d249cf3872a5634a5f))
9
+
10
+ ### Bug Fixes
11
+ - **formatter:** keep indent on YAML value below its key ([`52d578a`](https://github.com/jolars/panache/commit/52d578a34e5b53b37e94e34a5effd979e2424c03))
12
+
13
+ ### Dependencies
14
+ - updated crates/panache-parser to v0.18.0
15
+
3
16
  ## [0.14.0](https://github.com/jolars/panache/compare/panache-formatter-v0.13.0...panache-formatter-v0.14.0) (2026-06-17)
4
17
 
5
18
  ### Features
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "panache-formatter"
3
- version = "0.14.0"
3
+ version = "0.15.0"
4
4
  edition.workspace = true
5
5
  include = [
6
6
  "/src/**/*",
@@ -18,7 +18,7 @@ keywords = ["quarto", "pandoc", "markdown", "formatter"]
18
18
  categories = ["text-processing"]
19
19
 
20
20
  [dependencies]
21
- panache-parser = { path = "../panache-parser", version = "0.17.2" }
21
+ panache-parser = { path = "../panache-parser", version = "0.18.0" }
22
22
  log = { version = "0.4.31", features = ["release_max_level_debug"] }
23
23
  rowan = "0.16.1"
24
24
  serde = { version = "1.0", features = ["derive"], optional = true }
@@ -182,6 +182,7 @@ pub fn extract_directive_from_node(node: &SyntaxNode) -> Option<Directive> {
182
182
  // depending on context (block-level vs inline) and dialect.
183
183
  if node.kind() != SyntaxKind::COMMENT
184
184
  && node.kind() != SyntaxKind::HTML_BLOCK
185
+ && node.kind() != SyntaxKind::HTML_BLOCK_RAW
185
186
  && node.kind() != SyntaxKind::INLINE_HTML
186
187
  {
187
188
  return None;
@@ -596,6 +596,7 @@ impl Formatter {
596
596
  && node.kind() != SyntaxKind::DOCUMENT
597
597
  && node.kind() != SyntaxKind::COMMENT
598
598
  && node.kind() != SyntaxKind::HTML_BLOCK
599
+ && node.kind() != SyntaxKind::HTML_BLOCK_RAW
599
600
  && node.kind() != SyntaxKind::HTML_BLOCK_DIV
600
601
  {
601
602
  let text = node.text().to_string();
@@ -1008,7 +1009,7 @@ impl Formatter {
1008
1009
  }
1009
1010
  }
1010
1011
 
1011
- SyntaxKind::HTML_BLOCK | SyntaxKind::HTML_BLOCK_DIV => {
1012
+ SyntaxKind::HTML_BLOCK | SyntaxKind::HTML_BLOCK_RAW | SyntaxKind::HTML_BLOCK_DIV => {
1012
1013
  // Check if this is a directive comment
1013
1014
  if let Some(directive) = extract_directive_from_node(node) {
1014
1015
  // Process the directive to update tracker state
@@ -1360,7 +1361,9 @@ impl Formatter {
1360
1361
  ctx.in_list_continuation = false;
1361
1362
  }
1362
1363
  }
1363
- SyntaxKind::HTML_BLOCK | SyntaxKind::HTML_BLOCK_DIV => {
1364
+ SyntaxKind::HTML_BLOCK
1365
+ | SyntaxKind::HTML_BLOCK_RAW
1366
+ | SyntaxKind::HTML_BLOCK_DIV => {
1364
1367
  // Format HTML block contents (BLOCK_QUOTE_MARKER tokens
1365
1368
  // are stripped by the HTML_BLOCK handler) and re-emit
1366
1369
  // the blockquote prefix per line so the output stays
@@ -3,6 +3,50 @@
3
3
  //! This module centralizes the logic for determining how list items should be indented,
4
4
  //! including marker alignment, spacing, and checkbox handling.
5
5
 
6
+ use crate::syntax::{SyntaxKind, SyntaxNode};
7
+
8
+ /// Column a lazy continuation line should start at to stay aligned with the
9
+ /// list item containing `offset`.
10
+ ///
11
+ /// Returns `None` when `offset` is not inside a `LIST_ITEM`. The column is the
12
+ /// item's marker column plus [`ListItemIndent::text_continuation_offset`] — the
13
+ /// *same* column the formatter places continuation paragraphs at — so on-type
14
+ /// indentation and a later format pass never disagree.
15
+ ///
16
+ /// This is the query behind the LSP `textDocument/onTypeFormatting` handler.
17
+ /// It reads the marker geometry straight from the CST, so nested items work for
18
+ /// free: an indented item's marker column already encodes its depth.
19
+ pub fn continuation_indent_at(root: &SyntaxNode, text: &str, offset: usize) -> Option<usize> {
20
+ let text_size = rowan::TextSize::try_from(offset).ok()?;
21
+ // Left-biased: read the line the newline was typed *after*, not the new
22
+ // (empty) line to its right.
23
+ let token = root.token_at_offset(text_size).left_biased()?;
24
+
25
+ // Innermost enclosing list item.
26
+ let item = token
27
+ .parent_ancestors()
28
+ .find(|node| node.kind() == SyntaxKind::LIST_ITEM)?;
29
+
30
+ // The item's own marker is the first `LIST_MARKER` in document order within
31
+ // it; markers of nested lists belong to deeper `LIST_ITEM`s and appear only
32
+ // after this item's first-line content.
33
+ let marker = item
34
+ .descendants_with_tokens()
35
+ .filter_map(|element| element.into_token())
36
+ .find(|tok| tok.kind() == SyntaxKind::LIST_MARKER)?;
37
+
38
+ let marker_start = usize::from(marker.text_range().start());
39
+ let line_start = text[..marker_start].rfind('\n').map_or(0, |i| i + 1);
40
+ let marker_column = text[line_start..marker_start].chars().count();
41
+
42
+ // `has_checkbox` is irrelevant here: `text_continuation_offset` excludes the
43
+ // checkbox by design (continuation aligns under the marker content, not past
44
+ // the checkbox), so pass `false`. `four_space_rule`/`tab_width` are likewise
45
+ // inert for `text_continuation_offset`.
46
+ let indent = calculate_list_item_indent(marker.text(), 0, false, false, 4);
47
+ Some(marker_column + indent.text_continuation_offset())
48
+ }
49
+
6
50
  /// Detailed indentation information for a list item.
7
51
  ///
8
52
  /// This struct encapsulates all the spacing components needed to properly indent
@@ -263,4 +307,57 @@ mod tests {
263
307
  assert_eq!(indent.hanging_indent(0), 5); // No base indent
264
308
  assert_eq!(indent.hanging_indent(2), 7); // With base indent of 2
265
309
  }
310
+
311
+ /// Continuation indent at the byte offset of `word` in `src`, parsed with
312
+ /// Pandoc options so fancy (alphabetic/roman) ordered lists are recognized.
313
+ fn continuation_at_word(src: &str, word: &str) -> Option<usize> {
314
+ use crate::config::{Config, Flavor, ParserExtensions};
315
+ let config = Config {
316
+ flavor: Flavor::Pandoc,
317
+ parser_extensions: ParserExtensions::for_flavor(Flavor::Pandoc),
318
+ ..Config::default()
319
+ };
320
+ let tree = crate::parser::parse(src, Some(config.parser_options()));
321
+ let offset = src.find(word).expect("word present in source");
322
+ continuation_indent_at(&tree, src, offset)
323
+ }
324
+
325
+ #[test]
326
+ fn continuation_bullet_item() {
327
+ assert_eq!(continuation_at_word("- item\n", "item"), Some(2));
328
+ }
329
+
330
+ #[test]
331
+ fn continuation_ordered_item() {
332
+ assert_eq!(continuation_at_word("1. item\n", "item"), Some(3));
333
+ }
334
+
335
+ #[test]
336
+ fn continuation_uppercase_letter_item() {
337
+ // Pandoc requires two spaces after a single uppercase-letter marker (so
338
+ // "B. Russell" isn't a list); continuation lands two past the marker, col 4.
339
+ assert_eq!(continuation_at_word("A. item\n", "item"), Some(4));
340
+ }
341
+
342
+ #[test]
343
+ fn continuation_nested_item_uses_marker_column() {
344
+ // Inner marker sits at column 2, so its content column is 4.
345
+ let src = "- outer\n - inner\n";
346
+ assert_eq!(continuation_at_word(src, "inner"), Some(4));
347
+ }
348
+
349
+ #[test]
350
+ fn continuation_task_item_excludes_checkbox() {
351
+ // Aligns under the marker content (col 2), not past the checkbox (col 6),
352
+ // matching the formatter and avoiding the 4-space code-block trap.
353
+ assert_eq!(continuation_at_word("- [ ] task\n", "task"), Some(2));
354
+ }
355
+
356
+ #[test]
357
+ fn continuation_outside_list_is_none() {
358
+ assert_eq!(
359
+ continuation_at_word("just a paragraph\n", "paragraph"),
360
+ None
361
+ );
362
+ }
266
363
  }