Unnamed repository; edit this file 'description' to name the repository.
Add root file for quarto (#15725)
`_quarto.yml` is the project metadata file for Quarto projects (https://quarto.org/docs/projects/quarto-projects.html#project-metadata), so use it as the workspace root marker for .qmd buffers. Closes #15704 Signed-off-by: ChrisJr404 <[email protected]>
ChrisJr404 7 weeks ago
parent 107b9e9 · commit a8b359b
-rw-r--r--languages.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 8f3b0b0d..ab6a8a59 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2469,6 +2469,7 @@ scope = "source.qmd"
language-id = "qmd"
injection-regex = "qmd"
file-types = ["qmd"]
+roots = ["_quarto.yml"]
indent = { tab-width = 2, unit = " " }
grammar = "markdown"
block-comment-tokens = { start = "<!--", end = "-->" }