aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/quarto.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-02-28 09:34:27 +0100
committerGitHub <noreply@github.com>2023-02-28 09:34:27 +0100
commit66c384d4e806a5e8de53bc57a05f0ddd8c8a9d1c (patch)
tree0744198130c837d09161138c1a60f6a4a5c47335 /runtime/syntax/quarto.vim
parent8acb3d742ce68adadf1def9e1d1bb5bfd671988c (diff)
downloadrneovim-66c384d4e806a5e8de53bc57a05f0ddd8c8a9d1c.tar.gz
rneovim-66c384d4e806a5e8de53bc57a05f0ddd8c8a9d1c.tar.bz2
rneovim-66c384d4e806a5e8de53bc57a05f0ddd8c8a9d1c.zip
vim-patch:partial:dd60c365cd26 (#22437)
vim-patch:partial:dd60c365cd26 Update runtime files https://github.com/vim/vim/commit/dd60c365cd2630794be84d63c4fe287124a30b97 Co-authored-by: Bram Moolenaar <Bram@vim.org> Skip: eval.txt, repeat.txt (needs `getscriptinfo()`)
Diffstat (limited to 'runtime/syntax/quarto.vim')
-rw-r--r--runtime/syntax/quarto.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/syntax/quarto.vim b/runtime/syntax/quarto.vim
new file mode 100644
index 0000000000..d5d4ee257d
--- /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