Mercurial > vim
comparison runtime/doc/syntax.txt @ 14421:2f7e67dd088c
Update runtime files.
commit https://github.com/vim/vim/commit/91f84f6e11cd879d43d651c0903d85bff95f0716
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 29 15:07:52 2018 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Jul 2018 15:15:06 +0200 |
parents | 583bf95b6c84 |
children | 0ecb909e3249 |
comparison
equal
deleted
inserted
replaced
14420:9114cf8a3e07 | 14421:2f7e67dd088c |
---|---|
2874 | 2874 |
2875 This covers syntax highlighting for the older Unix (Bourne) sh, and newer | 2875 This covers syntax highlighting for the older Unix (Bourne) sh, and newer |
2876 shells such as bash, dash, posix, and the Korn shells. | 2876 shells such as bash, dash, posix, and the Korn shells. |
2877 | 2877 |
2878 Vim attempts to determine which shell type is in use by specifying that | 2878 Vim attempts to determine which shell type is in use by specifying that |
2879 various filenames are of specific types: > | 2879 various filenames are of specific types, e.g.: > |
2880 | 2880 |
2881 ksh : .kshrc* *.ksh | 2881 ksh : .kshrc* *.ksh |
2882 bash: .bashrc* bashrc bash.bashrc .bash_profile* *.bash | 2882 bash: .bashrc* bashrc bash.bashrc .bash_profile* *.bash |
2883 < | 2883 < |
2884 If none of these cases pertain, then the first line of the file is examined | 2884 See $VIMRUNTIME/filetype.vim for the full list of patterns. If none of these |
2885 (ex. looking for /bin/sh /bin/ksh /bin/bash). If the first line specifies a | 2885 cases pertain, then the first line of the file is examined (ex. looking for |
2886 shelltype, then that shelltype is used. However some files (ex. .profile) are | 2886 /bin/sh /bin/ksh /bin/bash). If the first line specifies a shelltype, then |
2887 known to be shell files but the type is not apparent. Furthermore, on many | 2887 that shelltype is used. However some files (ex. .profile) are known to be |
2888 systems sh is symbolically linked to "bash" (Linux, Windows+cygwin) or "ksh" | 2888 shell files but the type is not apparent. Furthermore, on many systems sh is |
2889 (Posix). | 2889 symbolically linked to "bash" (Linux, Windows+cygwin) or "ksh" (Posix). |
2890 | 2890 |
2891 One may specify a global default by instantiating one of the following | 2891 One may specify a global default by instantiating one of the following |
2892 variables in your <.vimrc>: | 2892 variables in your <.vimrc>: |
2893 | 2893 |
2894 ksh: > | 2894 ksh: > |
5476 "<\@<=span" Matches "span" in "<span". This tries matching with "<" in | 5476 "<\@<=span" Matches "span" in "<span". This tries matching with "<" in |
5477 many places. | 5477 many places. |
5478 "<\@1<=span" Matches the same, but only tries one byte before "span". | 5478 "<\@1<=span" Matches the same, but only tries one byte before "span". |
5479 | 5479 |
5480 | 5480 |
5481 vim:tw=78:sw=4:ts=8:ft=help:norl: | 5481 vim:tw=78:sw=4:ts=8:noet:ft=help:norl: |