annotate runtime/syntax/rmd.vim @ 24520:5bda4653aced

Update runtime files Commit: https://github.com/vim/vim/commit/11e3c5ba820325b69cb56f70e13c21d7b8808d33 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 21 18:09:37 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Apr 2021 18:15:04 +0200
parents 1eaf34420bb3
children b2412874362f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " markdown Text with R statements
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: markdown with R code chunks
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 6051
diff changeset
3 " Homepage: https://github.com/jalvesaq/R-Vim-runtime
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
4 " Last Change: Wed Apr 21, 2021 09:55AM
11347
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
5 "
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
6 " For highlighting pandoc extensions to markdown like citations and TeX and
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
7 " many other advanced features like folding of markdown sections, it is
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
8 " recommended to install the vim-pandoc filetype plugin as well as the
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
9 " vim-pandoc-syntax filetype plugin from https://github.com/vim-pandoc.
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
10
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 6051
diff changeset
12 if exists("b:current_syntax")
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 finish
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 endif
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
16 " Highlight the header of the chunks as R code
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
17 let g:rmd_syn_hl_chunk = get(g:, 'rmd_syn_hl_chunk', 0)
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
18
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
19 " Pandoc-syntax has more features, but it is slower.
11347
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
20 " https://github.com/vim-pandoc/vim-pandoc-syntax
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
21 let g:pandoc#syntax#codeblocks#embeds#langs = get(g:, 'pandoc#syntax#codeblocks#embeds#langs', ['r'])
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 runtime syntax/pandoc.vim
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 if exists("b:current_syntax")
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
24 " Recognize inline R code
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
25 syn region rmdrInline matchgroup=rmdInlineDelim start="`r " end="`" contains=@R containedin=pandocLaTeXRegion,yamlFlowString keepend
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
26 hi def link rmdInlineDelim Delimiter
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
27
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
28 " Fix recognition of language chunks (code adapted from pandoc, 2021-03-28)
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
29 " Knitr requires braces in the block's header
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
30 for s:lng in g:pandoc#syntax#codeblocks#embeds#langs
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
31 let s:nm = matchstr(s:lng, '^[^=]*')
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
32 exe 'syn clear pandocDelimitedCodeBlock_'.s:nm
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
33 exe 'syn clear pandocDelimitedCodeBlockinBlockQuote_'.s:nm
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
34 if g:rmd_syn_hl_chunk
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
35 exe 'syn region rmd'.s:nm.'ChunkDelim matchgroup=rmdCodeDelim start="^\s*```\s*{\s*'.s:nm.'\>" matchgroup=rmdCodeDelim end="}$" keepend containedin=rmd'.s:nm.'Chunk contains=@R'
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
36 exe 'syn region rmd'.s:nm.'Chunk start="^\s*```\s*{\s*'.s:nm.'\>.*$" matchgroup=rmdCodeDelim end="^\s*```\ze\s*$" keepend contains=rmd'.s:nm.'ChunkDelim,@'.toupper(s:nm)
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
37 else
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
38 exe 'syn region rmd'.s:nm.'Chunk matchgroup=rmdCodeDelim start="^\s*```\s*{\s*'.s:nm.'\>.*$" matchgroup=rmdCodeDelim end="^\s*```\ze\s*$" keepend contains=@'.toupper(s:nm)
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
39 endif
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
40 endfor
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
41 unlet s:lng
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
42 unlet s:nm
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
43 hi def link rmdInlineDelim Delimiter
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
44 hi def link rmdCodeDelim Delimiter
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
45 let b:current_syntax = "rmd"
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
46 finish
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 endif
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
49 " Configuration if not using pandoc syntax:
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
50 " Add syntax highlighting of YAML header
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
51 let g:rmd_syn_hl_yaml = get(g:, 'rmd_syn_hl_yaml', 1)
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
52 " Add syntax highlighting of citation keys
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
53 let g:rmd_syn_hl_citations = get(g:, 'rmd_syn_hl_citations', 1)
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
54
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
55 let s:cpo_save = &cpo
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
56 set cpo&vim
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
57
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
58 " R chunks will not be highlighted by syntax/markdown because their headers
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
59 " follow a non standard pattern: "```{lang" instead of "^```lang".
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
60 " Make a copy of g:markdown_fenced_languages to highlight the chunks later:
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
61 if exists('g:markdown_fenced_languages')
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
62 if !exists('g:rmd_fenced_languages')
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
63 let g:rmd_fenced_languages = deepcopy(g:markdown_fenced_languages)
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
64 let g:markdown_fenced_languages = []
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
65 endif
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 else
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
67 let g:rmd_fenced_languages = ['r']
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
68 endif
11347
4aae8146c21f Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
69
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
70 runtime syntax/markdown.vim
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
71
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
72 " Now highlight chunks:
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
73 for s:type in g:rmd_fenced_languages
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
74 if s:type =~ '='
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14637
diff changeset
75 let s:ft = substitute(s:type, '.*=', '', '')
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14637
diff changeset
76 let s:nm = substitute(s:type, '=.*', '', '')
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
77 else
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14637
diff changeset
78 let s:ft = s:type
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
79 let s:nm = s:type
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
80 endif
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
81 unlet! b:current_syntax
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14637
diff changeset
82 exe 'syn include @Rmd'.s:nm.' syntax/'.s:ft.'.vim'
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
83 if g:rmd_syn_hl_chunk
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
84 exe 'syn region rmd'.s:nm.'ChunkDelim matchgroup=rmdCodeDelim start="^\s*```\s*{\s*'.s:nm.'\>" matchgroup=rmdCodeDelim end="}$" keepend containedin=rmd'.s:nm.'Chunk contains=@Rmdr'
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
85 exe 'syn region rmd'.s:nm.'Chunk start="^\s*```\s*{\s*'.s:nm.'\>.*$" matchgroup=rmdCodeDelim end="^\s*```\ze\s*$" keepend contains=rmd'.s:nm.'ChunkDelim,@Rmd'.s:nm
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
86 else
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
87 exe 'syn region rmd'.s:nm.'Chunk matchgroup=rmdCodeDelim start="^\s*```\s*{\s*'.s:nm.'\>.*$" matchgroup=rmdCodeDelim end="^\s*```\ze\s*$" keepend contains=@Rmd'.s:nm
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
88 endif
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
89 endfor
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
90 unlet! s:type
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
91
24520
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
92 " Recognize inline R code
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
93 syn region rmdrInline matchgroup=rmdInlineDelim start="`r " end="`" contains=@Rmdr keepend
5bda4653aced Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
94
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
95 hi def link rmdInlineDelim Delimiter
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
96 hi def link rmdCodeDelim Delimiter
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
97
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
98 " You don't need this if either your markdown/syntax.vim already highlights
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
99 " the YAML header or you are writing standard markdown
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
100 if g:rmd_syn_hl_yaml
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
101 " Minimum highlighting of yaml header
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
102 syn match rmdYamlFieldTtl /^\s*\zs\w*\ze:/ contained
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
103 syn match rmdYamlFieldTtl /^\s*-\s*\zs\w*\ze:/ contained
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
104 syn region yamlFlowString matchgroup=yamlFlowStringDelimiter start='"' skip='\\"' end='"' contains=yamlEscape,rmdrInline contained
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
105 syn region yamlFlowString matchgroup=yamlFlowStringDelimiter start="'" skip="''" end="'" contains=yamlSingleEscape,rmdrInline contained
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
106 syn match yamlEscape contained '\\\%([\\"abefnrtv\^0_ NLP\n]\|x\x\x\|u\x\{4}\|U\x\{8}\)'
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
107 syn match yamlSingleEscape contained "''"
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
108 syn region pandocYAMLHeader matchgroup=rmdYamlBlockDelim start=/\%(\%^\|\_^\s*\n\)\@<=\_^-\{3}\ze\n.\+/ end=/^\([-.]\)\1\{2}$/ keepend contains=rmdYamlFieldTtl,yamlFlowString
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
109 hi def link rmdYamlBlockDelim Delimiter
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
110 hi def link rmdYamlFieldTtl Identifier
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
111 hi def link yamlFlowString String
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
112 endif
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
113
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
114 " You don't need this if either your markdown/syntax.vim already highlights
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
115 " citations or you are writing standard markdown
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
116 if g:rmd_syn_hl_citations
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
117 " From vim-pandoc-syntax
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
118 " parenthetical citations
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
119 syn match pandocPCite /\^\@<!\[[^\[\]]\{-}-\{0,1}@[[:alnum:]_][[:alnum:]à-öø-ÿÀ-ÖØ-ß_:.#$%&\-+?<>~\/]*.\{-}\]/ contains=pandocEmphasis,pandocStrong,pandocLatex,pandocCiteKey,@Spell,pandocAmpersandEscape display
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
120 " in-text citations with location
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
121 syn match pandocICite /@[[:alnum:]_][[:alnum:]à-öø-ÿÀ-ÖØ-ß_:.#$%&\-+?<>~\/]*\s\[.\{-1,}\]/ contains=pandocCiteKey,@Spell display
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
122 " cite keys
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
123 syn match pandocCiteKey /\(-\=@[[:alnum:]_][[:alnum:]à-öø-ÿÀ-ÖØ-ß_:.#$%&\-+?<>~\/]*\)/ containedin=pandocPCite,pandocICite contains=@NoSpell display
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
124 syn match pandocCiteAnchor /[-@]/ contained containedin=pandocCiteKey display
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
125 syn match pandocCiteLocator /[\[\]]/ contained containedin=pandocPCite,pandocICite
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
126 hi def link pandocPCite Operator
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
127 hi def link pandocICite Operator
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
128 hi def link pandocCiteKey Label
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
129 hi def link pandocCiteAnchor Operator
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
130 hi def link pandocCiteLocator Operator
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
131 endif
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
132
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
133 let b:current_syntax = "rmd"
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
134
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
135 let &cpo = s:cpo_save
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
136 unlet s:cpo_save
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11347
diff changeset
137
6051
0efec12f52ac Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
138 " vim: ts=8 sw=2