diff runtime/syntax/quarto.vim @ 32061:b2412874362f

Update runtime files Commit: https://github.com/vim/vim/commit/dd60c365cd2630794be84d63c4fe287124a30b97 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 27 15:49:53 2023 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Feb 2023 17:00:08 +0100
parents
children 02bd0fe77c68
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/runtime/syntax/quarto.vim
@@ -0,0 +1,17 @@
+" Language: Quarto (Markdown with chunks of R, Python and other languages)
+" Provisory Maintainer: Jakson Aquino <jalvesaq@gmail.com>
+" Homepage: https://github.com/jalvesaq/R-Vim-runtime
+" Last Change: Fri Feb 24, 2023  08:26AM
+"
+" 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