summaryrefslogtreecommitdiff
path: root/uvim/runtime/syntax/quarto.vim
diff options
context:
space:
mode:
Diffstat (limited to 'uvim/runtime/syntax/quarto.vim')
-rw-r--r--uvim/runtime/syntax/quarto.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/uvim/runtime/syntax/quarto.vim b/uvim/runtime/syntax/quarto.vim
new file mode 100644
index 0000000000..f83071dd7f
--- /dev/null
+++ b/uvim/runtime/syntax/quarto.vim
@@ -0,0 +1,19 @@
+" Language: Quarto (Markdown with chunks of R, Python and other languages)
+" Maintainer: This runtime file is looking for a new maintainer.
+" Former Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com>
+" Former Repository: https://github.com/jalvesaq/R-Vim-runtime
+" Last Change: 2023 Feb 24 08:26AM
+" 2024 Feb 19 by Vim Project (announce adoption)
+"
+" The developers of tools for Quarto maintain Vim runtime files in their
+" Github repository and, if required, I will hand over the maintenance of
+" this script for them.
+
+runtime syntax/rmd.vim
+
+syn match quartoShortarg /\S\+/ contained
+syn keyword quartoShortkey var meta env pagebreak video include contained
+syn region quartoShortcode matchgroup=PreProc start='{{< ' end=' >}}' contains=quartoShortkey,quartoShortarg transparent keepend
+
+hi def link quartoShortkey Include
+hi def link quartoShortarg String