Hi
Attached patch corrects a few issues in help files (2318:c79ccf947487):
- fixed some incorrect jump tags
- fixed a couple of typos
I also see the following broken tags which I don't know how to fix
in runtime/doc/ft_ada.txt:
|g:gnat.Pretty_Command|
|g:gnat.Find_Command|
I used the following Perl script to find the incorrect jump tags
(it gives a few false positive):
$ cat find-broken-links.pl
#!/usr/bin/perl -w
# Find broken links in Vim help files.
# Example:
# find-broken-links.pl vim/runtime/doc/*txt
my %used_links;
my %defined_links;
while (<>) {
foreach (/(?<!\\)\|([#-)!+-~]+)\|/g) {
$used_links{$_} = $ARGV unless /====/;
}
foreach (/(?<!\\)\*([#-)!+-~]+)\*/g) {
$defined_links{$_} = 1 unless /====/;
}
}
foreach (keys %used_links) {
print "link [$_] used in [$used_links{$_}] but not defined anywhere\n"
unless exists $defined_links{$_};
}
$ ./find-broken-links.pl /usr/local/share/vim/vim73a/doc/*txt
...
Regards
-- Dominique
--
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
diff -r c79ccf947487 runtime/doc/ft_ada.txt
--- a/runtime/doc/ft_ada.txt Wed Jul 14 22:35:55 2010 +0200
+++ b/runtime/doc/ft_ada.txt Wed Jul 14 22:40:10 2010 +0200
@@ -246,7 +246,7 @@
*g:decada.Make_Command*
g:decada.Make_Command string
- External command used for|g:decadat.Make()| (|'makeprg'|).
+ External command used for|g:decada.Make()| (|'makeprg'|).
*g:decada.Error_Format*
g:decada.Error_Format| string
diff -r c79ccf947487 runtime/doc/ft_sql.txt
--- a/runtime/doc/ft_sql.txt Wed Jul 14 22:35:55 2010 +0200
+++ b/runtime/doc/ft_sql.txt Wed Jul 14 22:40:10 2010 +0200
@@ -1,4 +1,4 @@
-*sql.txt* For Vim version 7.3a. Last change: 2009 Nov 03
+*ft_sql.txt* For Vim version 7.3a. Last change: 2009 Nov 03
by David Fishburn
@@ -632,7 +632,7 @@
MYTABLENAME --> M
omni_sql_ignorecase
-< - Default: Current setting for|ignorecase|
+< - Default: Current setting for |'ignorecase'|
- Valid settings are 0 or 1.
- When entering a few letters before initiating completion, the list
will be filtered to display only the entries which begin with the
diff -r c79ccf947487 runtime/doc/map.txt
--- a/runtime/doc/map.txt Wed Jul 14 22:35:55 2010 +0200
+++ b/runtime/doc/map.txt Wed Jul 14 22:40:10 2010 +0200
@@ -594,7 +594,7 @@
suggestions:
- Function keys <F2>, <F3>, etc.. Also the shifted function keys <S-F1>,
<S-F2>, etc. Note that <F1> is already used for the help command.
-- Meta-keys (with the ALT key pressed). Depending on your keybord accented
+- Meta-keys (with the ALT key pressed). Depending on your keyboard accented
characters may be used as well. |:map-alt-keys|
- Use the '_' or ',' character and then any other character. The "_" and ","
commands do exist in Vim (see |_| and |,|), but you probably never use them.
@@ -767,7 +767,7 @@
The function is called with one String argument:
"line" {motion} was |linewise|
"char" {motion} was |characterwise|
- "block" {motion} was |blockwise-visual||
+ "block" {motion} was |blockwise-visual|
Although "block" would rarely appear, since it can
only result from Visual mode where "g@" is not useful.
{not available when compiled without the +eval
diff -r c79ccf947487 runtime/doc/os_vms.txt
--- a/runtime/doc/os_vms.txt Wed Jul 14 22:35:55 2010 +0200
+++ b/runtime/doc/os_vms.txt Wed Jul 14 22:40:10 2010 +0200
@@ -639,7 +639,7 @@
DEC C uses many identifiers with '$' in them. This is not allowed in ANSI C,
and Vim recognises the '$' as the end of the identifier. You can change this
-with the |iskeyword|command.
+with the |'iskeyword'| option.
Add this command to your .vimrc file: >
autocmd FileType c,cpp,cs set iskeyword+=$
diff -r c79ccf947487 runtime/doc/todo.txt
--- a/runtime/doc/todo.txt Wed Jul 14 22:35:55 2010 +0200
+++ b/runtime/doc/todo.txt Wed Jul 14 22:40:10 2010 +0200
@@ -3016,7 +3016,7 @@
8 For 'tags' wildcard in the file name is not supported, only in the path.
This is due to it using |file-searching|. Suboptimal solution would be to
make the filename or the whole option use |wildcards| globing, better
- would be to merge the 2 kinds of globing. originall (Erik Falor, 2008
+ would be to merge the 2 kinds of globing. originally (Erik Falor, 2008
April 18), updated (Ian Kelling, 2008 July 4)
8 Use a mechanism similar to omni completion to figure out the kind of tab
for CTRL-] and jump to the appropriate matching tag (if there are
diff -r c79ccf947487 runtime/doc/various.txt
--- a/runtime/doc/various.txt Wed Jul 14 22:35:55 2010 +0200
+++ b/runtime/doc/various.txt Wed Jul 14 22:40:10 2010 +0200
@@ -294,7 +294,7 @@
N *+cmdline_hist* command line history |cmdline-history|
N *+cmdline_info* |'showcmd'| and |'ruler'|
N *+comments* |'comments'| support
-m *+conceal* "conceal" support, see ||conceal|| |:syn-conceal| etc.
+m *+conceal* "conceal" support, see |conceal| |:syn-conceal| etc.
N *+cryptv* encryption support |encryption|
B *+cscope* |cscope| support
m *+cursorbind* |'cursorbind'| support