comparison runtime/doc/syntax.txt @ 19163:63beef1ca62c

Update runtime files. Commit: https://github.com/vim/vim/commit/ade0d39468014fd55d30f7647a1ac104baff4bc5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 21 22:33:58 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jan 2020 22:45:04 +0100
parents 9b7f90e56753
children d4deb2e50667
comparison
equal deleted inserted replaced
19162:d02825cf56e3 19163:63beef1ca62c
2313 contain very long structures that Vim does not synchronize anymore. 2313 contain very long structures that Vim does not synchronize anymore.
2314 2314
2315 2315
2316 PAPP *papp.vim* *ft-papp-syntax* 2316 PAPP *papp.vim* *ft-papp-syntax*
2317 2317
2318 The PApp syntax file handles .papp files and, to a lesser extend, .pxml 2318 The PApp syntax file handles .papp files and, to a lesser extent, .pxml
2319 and .pxsl files which are all a mixture of perl/xml/html/other using xml 2319 and .pxsl files which are all a mixture of perl/xml/html/other using xml
2320 as the top-level file format. By default everything inside phtml or pxml 2320 as the top-level file format. By default everything inside phtml or pxml
2321 sections is treated as a string with embedded preprocessor commands. If 2321 sections is treated as a string with embedded preprocessor commands. If
2322 you set the variable: > 2322 you set the variable: >
2323 2323
2685 Note: only existence of these options matter, not their value. You can replace 2685 Note: only existence of these options matter, not their value. You can replace
2686 1 above with anything. 2686 1 above with anything.
2687 2687
2688 QUAKE *quake.vim* *ft-quake-syntax* 2688 QUAKE *quake.vim* *ft-quake-syntax*
2689 2689
2690 The Quake syntax definition should work for most any FPS (First Person 2690 The Quake syntax definition should work for most FPS (First Person Shooter)
2691 Shooter) based on one of the Quake engines. However, the command names vary 2691 based on one of the Quake engines. However, the command names vary a bit
2692 a bit between the three games (Quake, Quake 2, and Quake 3 Arena) so the 2692 between the three games (Quake, Quake 2, and Quake 3 Arena) so the syntax
2693 syntax definition checks for the existence of three global variables to allow 2693 definition checks for the existence of three global variables to allow users
2694 users to specify what commands are legal in their files. The three variables 2694 to specify what commands are legal in their files. The three variables can
2695 can be set for the following effects: 2695 be set for the following effects:
2696 2696
2697 set to highlight commands only available in Quake: > 2697 set to highlight commands only available in Quake: >
2698 :let quake_is_quake1 = 1 2698 :let quake_is_quake1 = 1
2699 2699
2700 set to highlight commands only available in Quake 2: > 2700 set to highlight commands only available in Quake 2: >
3026 One may specify a global default by instantiating one of the following 3026 One may specify a global default by instantiating one of the following
3027 variables in your <.vimrc>: 3027 variables in your <.vimrc>:
3028 3028
3029 ksh: > 3029 ksh: >
3030 let g:is_kornshell = 1 3030 let g:is_kornshell = 1
3031 < posix: (using this is the nearly the same as setting g:is_kornshell to 1) > 3031 < posix: (using this is nearly the same as setting g:is_kornshell to 1) >
3032 let g:is_posix = 1 3032 let g:is_posix = 1
3033 < bash: > 3033 < bash: >
3034 let g:is_bash = 1 3034 let g:is_bash = 1
3035 < sh: (default) Bourne shell > 3035 < sh: (default) Bourne shell >
3036 let g:is_sh = 1 3036 let g:is_sh = 1