Mercurial > vim
comparison runtime/doc/syntax.txt @ 12756:3b26420fc639
Long overdue runtime update.
commit https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 2 22:58:42 2017 +0100
Long overdue runtime update.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Nov 2017 23:00:08 +0100 |
parents | 2a8890b80923 |
children | 656ab57d1ddc |
comparison
equal
deleted
inserted
replaced
12755:3529eea08ad9 | 12756:3b26420fc639 |
---|---|
1 *syntax.txt* For Vim version 8.0. Last change: 2017 Aug 12 | 1 *syntax.txt* For Vim version 8.0. Last change: 2017 Sep 30 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
59 the path in another way (see |$VIMRUNTIME|). Usually this works just | 59 the path in another way (see |$VIMRUNTIME|). Usually this works just |
60 fine. If it doesn't, try setting the VIM environment variable to the | 60 fine. If it doesn't, try setting the VIM environment variable to the |
61 directory where the Vim stuff is located. For example, if your syntax files | 61 directory where the Vim stuff is located. For example, if your syntax files |
62 are in the "/usr/vim/vim50/syntax" directory, set $VIMRUNTIME to | 62 are in the "/usr/vim/vim50/syntax" directory, set $VIMRUNTIME to |
63 "/usr/vim/vim50". You must do this in the shell, before starting Vim. | 63 "/usr/vim/vim50". You must do this in the shell, before starting Vim. |
64 This command also sources the |menu.vim| script when the GUI is running or | |
65 will start soon. See |'go-M'| about avoiding that. | |
64 | 66 |
65 *:syn-on* *:syntax-on* | 67 *:syn-on* *:syntax-on* |
66 The ":syntax enable" command will keep your current color settings. This | 68 The `:syntax enable` command will keep your current color settings. This |
67 allows using ":highlight" commands to set your preferred colors before or | 69 allows using `:highlight` commands to set your preferred colors before or |
68 after using this command. If you want Vim to overrule your settings with the | 70 after using this command. If you want Vim to overrule your settings with the |
69 defaults, use: > | 71 defaults, use: > |
70 :syntax on | 72 :syntax on |
71 < | 73 < |
72 *:hi-normal* *:highlight-normal* | 74 *:hi-normal* *:highlight-normal* |
808 See |mysyntaxfile-add| for installing script languages permanently. | 810 See |mysyntaxfile-add| for installing script languages permanently. |
809 | 811 |
810 | 812 |
811 APACHE *apache.vim* *ft-apache-syntax* | 813 APACHE *apache.vim* *ft-apache-syntax* |
812 | 814 |
813 The apache syntax file provides syntax highlighting depending on Apache HTTP | 815 The apache syntax file provides syntax highlighting for Apache HTTP server |
814 server version, by default for 1.3.x. Set "apache_version" to Apache version | 816 version 2.2.3. |
815 (as a string) to get highlighting for another version. Example: > | 817 |
816 | |
817 :let apache_version = "2.0" | |
818 < | |
819 | 818 |
820 *asm.vim* *asmh8300.vim* *nasm.vim* *masm.vim* *asm68k* | 819 *asm.vim* *asmh8300.vim* *nasm.vim* *masm.vim* *asm68k* |
821 ASSEMBLY *ft-asm-syntax* *ft-asmh8300-syntax* *ft-nasm-syntax* | 820 ASSEMBLY *ft-asm-syntax* *ft-asmh8300-syntax* *ft-nasm-syntax* |
822 *ft-masm-syntax* *ft-asm68k-syntax* *fasm.vim* | 821 *ft-masm-syntax* *ft-asm68k-syntax* *fasm.vim* |
823 | 822 |