comparison runtime/syntax/rmd.vim @ 9975:03fa8a51e9dc

commit https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 19:52:37 2016 +0200 Updated runtime files. Add Scala files.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Aug 2016 20:00:12 +0200
parents da01d5da2cfa
children 4aae8146c21f
comparison
equal deleted inserted replaced
9974:cb480e05fb5f 9975:03fa8a51e9dc
1 " markdown Text with R statements 1 " markdown Text with R statements
2 " Language: markdown with R code chunks 2 " Language: markdown with R code chunks
3 " Homepage: https://github.com/jalvesaq/R-Vim-runtime 3 " Homepage: https://github.com/jalvesaq/R-Vim-runtime
4 " Last Change: Sat Feb 06, 2016 06:45AM 4 " Last Change: Tue Jun 28, 2016 10:09AM
5 " 5 "
6 " CONFIGURATION: 6 " CONFIGURATION:
7 " To highlight chunk headers as R code, put in your vimrc: 7 " To highlight chunk headers as R code, put in your vimrc:
8 " let rmd_syn_hl_chunk = 1 8 " let rmd_syn_hl_chunk = 1
9 9
70 hi def link rmdLaTeXSt Statement 70 hi def link rmdLaTeXSt Statement
71 hi def link rmdLaTeXInlDelim Special 71 hi def link rmdLaTeXInlDelim Special
72 hi def link rmdLaTeXRegDelim Special 72 hi def link rmdLaTeXRegDelim Special
73 endif 73 endif
74 74
75 setlocal iskeyword=@,48-57,_,.
76
77 syn sync match rmdSyncChunk grouphere rmdChunk "^[ \t]*``` *{r" 75 syn sync match rmdSyncChunk grouphere rmdChunk "^[ \t]*``` *{r"
78 76
79 hi def link rmdChunkDelim Special 77 hi def link rmdChunkDelim Special
80 hi def link rmdBeginInline Special 78 hi def link rmdBeginInline Special
81 hi def link rmdEndInline Special 79 hi def link rmdEndInline Special