comparison runtime/doc/syntax.txt @ 5340:22da5ab9aaa1

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Thu, 05 Sep 2013 22:13:31 +0200
parents 359743c1f59a
children c2098c3095e7
comparison
equal deleted inserted replaced
5339:a00302b18c60 5340:22da5ab9aaa1
1 *syntax.txt* For Vim version 7.4. Last change: 2013 Jul 05 1 *syntax.txt* For Vim version 7.4. Last change: 2013 Aug 22
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
3154 *g:vimsyn_embed* 3154 *g:vimsyn_embed*
3155 The g:vimsyn_embed option allows users to select what, if any, types of 3155 The g:vimsyn_embed option allows users to select what, if any, types of
3156 embedded script highlighting they wish to have. > 3156 embedded script highlighting they wish to have. >
3157 3157
3158 g:vimsyn_embed == 0 : don't embed any scripts 3158 g:vimsyn_embed == 0 : don't embed any scripts
3159 g:vimsyn_embed =~ 'm' : embed mzscheme (but only if vim supports it) 3159 g:vimsyn_embed =~ 'm' : support embedded mzscheme
3160 g:vimsyn_embed =~ 'p' : embed perl (but only if vim supports it) 3160 g:vimsyn_embed =~ 'p' : support embedded perl
3161 g:vimsyn_embed =~ 'P' : embed python (but only if vim supports it) 3161 g:vimsyn_embed =~ 'P' : support embedded python
3162 g:vimsyn_embed =~ 'r' : embed ruby (but only if vim supports it) 3162 g:vimsyn_embed =~ 'r' : support embedded ruby
3163 g:vimsyn_embed =~ 't' : embed tcl (but only if vim supports it) 3163 g:vimsyn_embed =~ 't' : support embedded tcl
3164 < 3164 <
3165 By default, g:vimsyn_embed is "mpPr"; ie. syntax/vim.vim will support 3165 By default, g:vimsyn_embed is a string supporting interpreters that your vim
3166 highlighting mzscheme, perl, python, and ruby by default. Vim's has("tcl") 3166 itself supports. Concatenate multiple characters to support multiple types
3167 test appears to hang vim when tcl is not truly available. Thus, by default, 3167 of embedded interpreters; ie. g:vimsyn_embed= "mp" supports embedded mzscheme
3168 tcl is not supported for embedding (but those of you who like tcl embedded in 3168 and embedded perl.
3169 their vim syntax highlighting can simply include it in the g:vimembedscript
3170 option).
3171 *g:vimsyn_folding* 3169 *g:vimsyn_folding*
3172 3170
3173 Some folding is now supported with syntax/vim.vim: > 3171 Some folding is now supported with syntax/vim.vim: >
3174 3172
3175 g:vimsyn_folding == 0 or doesn't exist: no syntax-based folding 3173 g:vimsyn_folding == 0 or doesn't exist: no syntax-based folding