Hi Bram,
I attached a patch for documents.
--
Best regards,
Hirohito Higashi (h_east)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/1a2b8eeb-e016-4223-82d7-14c13f884721%40googlegroups.com.
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index fc7a930eb..40c2adb89 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -100,7 +100,7 @@ g CTRL-G Prints the current position of the cursor in five
:buffers
:files
:ls List all the currently known file names. See
- 'windows.txt' |:files| |:buffers| |:ls|.
+ |windows.txt| |:files| |:buffers| |:ls|.
Vim will remember the full path name of a file name that you enter. In most
cases when the file name is displayed only the name you typed is shown, but
@@ -1233,7 +1233,7 @@ The syntax is best shown via some examples: >
< Open the browser in the C:/bar directory, with the current
buffer filename as default, and save the buffer under the
filename chosen.
-Also see the |'browsedir'| option.
+Also see the 'browsedir' option.
For versions of Vim where browsing is not supported, the command is executed
unmodified.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 8d51ab0e1..989c1c023 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -3154,7 +3154,7 @@ bufadd({name}) *bufadd()*
number. Otherwise return the buffer number of the newly
created buffer. When {name} is an empty string then a new
buffer is always created.
- The buffer will not have' 'buflisted' set and not be loaded
+ The buffer will not have 'buflisted' set and not be loaded
yet. To add some text to the buffer use this: >
let bufnr = bufadd('someName')
call bufload(bufnr)
@@ -5833,7 +5833,7 @@ histadd({history}, {item}) *histadd()*
Can also be used as a |method|, the base is used for the
second argument: >
- GetPattern()->histadd('search')
+ GetHistory()->histadd('search')
histdel({history} [, {item}]) *histdel()*
Clear {history}, i.e. delete all its entries. See |hist-names|
@@ -6465,7 +6465,7 @@ listener_add({callback} [, {buf}]) *listener_add()*
buffer is used.
Returns a unique ID that can be passed to |listener_remove()|.
- The {callback} is invoked with four arguments:
+ The {callback} is invoked with five arguments:
a:bufnr the buffer that was changed
a:start first changed line number
a:end first line number below the change
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 091ffb221..7913e10ae 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -23,7 +23,7 @@ to look for deleting something, use: "/delete".
5. Terminal-Job mode |terminal-job-index|
6. EX commands |ex-cmd-index|
-For an overview of options see help.txt |option-list|.
+For an overview of options see |option-list|.
For an overview of built-in functions see |functions|.
For a list of Vim variables see |vim-variable|.
For a complete listing of all help items see |help-tags|.
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 7597662e3..1626bf19b 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -152,8 +152,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
This can be used to find out where time is spent while loading
your .vimrc, plugins and opening the first file.
When {fname} already exists new messages are appended.
- (Only available when compiled with the |+startuptime|
- feature).
+ {only available when compiled with the |+startuptime|
+ feature}
*--literal*
--literal Take file names literally, don't expand wildcards. Not needed
@@ -311,10 +311,10 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
-l Lisp mode. Sets the 'lisp' and 'showmatch' options on.
*-A*
--A Arabic mode. Sets the 'arabic' option on. (Only when
+-A Arabic mode. Sets the 'arabic' option on. {only when
compiled with the |+arabic| features (which include
|+rightleft|), otherwise Vim gives an error message
- and exits.)
+ and exits}
*-F*
-F This was used for Farsi mode, which has been removed.
@@ -322,8 +322,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
*-H*
-H Hebrew mode. Sets the 'hkmap' and 'rightleft' options on.
- (Only when compiled with the |+rightleft| feature, otherwise
- Vim gives an error message and exits.)
+ {only when compiled with the |+rightleft| feature, otherwise
+ Vim gives an error message and exits}
*-V* *verbose*
-V[N] Verbose. Sets the 'verbose' option to [N] (default: 10).
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 8bea28bf6..afad1759f 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1746,7 +1746,7 @@ There are several html preprocessor languages out there. html.vim has been
written such that it should be trivial to include it. To do so add the
following two lines to the syntax coloring file for that language
(the example comes from the asp.vim file):
-
+>
runtime! syntax/html.vim
syn cluster htmlPreproc add=asp
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index df12f83e7..f637d4caf 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -341,7 +341,7 @@ will move accordingly.
When text is deleted and a text property no longer includes any text, it is
deleted. However, a text property that was defined as zero-width will remain,
unless the whole line is deleted.
-` *E275*
+ *E275*
When a buffer is unloaded, all the text properties are gone. There is no way
to store the properties in a file. You can only re-create them. When a
buffer is hidden the text is preserved and so are the text properties. It is