comparison runtime/doc/syntax.txt @ 8303:88207f4b861a

commit https://github.com/vim/vim/commit/dae8d21dd291df6a6679a00be64e18bca0156576 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 27 22:40:16 2016 +0100 Updated runtime files
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Feb 2016 22:45:05 +0100
parents f16bfe02cef1
children ed7251c3e2d3
comparison
equal deleted inserted replaced
8302:f88943c348e9 8303:88207f4b861a
1 *syntax.txt* For Vim version 7.4. Last change: 2016 Feb 24 1 *syntax.txt* For Vim version 7.4. Last change: 2016 Feb 25
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
2888 2888
2889 You may wish to embed languages into sh. I'll give an example courtesy of 2889 You may wish to embed languages into sh. I'll give an example courtesy of
2890 Lorance Stinson on how to do this with awk as an example. Put the following 2890 Lorance Stinson on how to do this with awk as an example. Put the following
2891 file into $HOME/.vim/after/syntax/sh/awkembed.vim: > 2891 file into $HOME/.vim/after/syntax/sh/awkembed.vim: >
2892 2892
2893 " AWK Embedding: {{{1 2893 " AWK Embedding:
2894 " ============== 2894 " ==============
2895 " Shamelessly ripped from aspperl.vim by Aaron Hope. 2895 " Shamelessly ripped from aspperl.vim by Aaron Hope.
2896 if exists("b:current_syntax") 2896 if exists("b:current_syntax")
2897 unlet b:current_syntax 2897 unlet b:current_syntax
2898 endif 2898 endif