diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
commit | 09092155a66388bbd7be8d16debb35abfcfae700 (patch) | |
tree | 4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /runtime | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) | |
download | vim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz |
Remove unused code.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/syntax.txt | 14 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 2 |
2 files changed, 7 insertions, 9 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index c34b10c2c..9a65d814d 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.3e. Last change: 2010 Aug 04 +*syntax.txt* For Vim version 7.3e. Last change: 2010 Aug 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -92,12 +92,12 @@ highlighting, include the ":gui" command in the |gvimrc|: > NOTE: Using ":gui" in the |gvimrc| means that "gvim -f" won't start in the foreground! Use ":gui -f" then. - -You can toggle the syntax on/off with this command > - :if exists("syntax_on") | syntax off | else | syntax enable | endif + *g:syntax_on* +You can toggle the syntax on/off with this command: > + :if exists("g:syntax_on") | syntax off | else | syntax enable | endif To put this into a mapping, you can use: > - :map <F7> :if exists("syntax_on") <Bar> + :map <F7> :if exists("g:syntax_on") <Bar> \ syntax off <Bar> \ else <Bar> \ syntax enable <Bar> @@ -925,7 +925,7 @@ Example: > or > // vim:syntax=c.doxygen -It can also be done automatically for c, cpp and idl files by setting the +It can also be done automatically for C, C++, C# and IDL files by setting the global or buffer-local variable load_doxygen_syntax. This is done by adding the following to your .vimrc. > :let g:load_doxygen_syntax=1 @@ -3168,7 +3168,7 @@ and may be mixed with patterns. Not all commands accept all arguments. This table shows which arguments can not be used for all commands: - *E395* *E396* + *E395* contains oneline fold display extend concealends~ :syntax keyword - - - - - - :syntax match yes - yes yes yes - diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index e4bdbc513..f10ee6943 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -33,8 +33,6 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. Before release 7.3: - Rename vim73 branch to default (hints: Xavier de Gaye, 2010 May 23) -Should readfile() ignore BOM when not in binary mode? - Bug: searching for tags file uses 'suffixesadd', should not happen. (Dominique Pelle, 2010 June 28) |