Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本家helpのtypo報告スレ (Vim 8.1) #1172

Open
h-east opened this issue Jun 12, 2018 · 225 comments
Open

本家helpのtypo報告スレ (Vim 8.1) #1172

h-east opened this issue Jun 12, 2018 · 225 comments

Comments

@h-east
Copy link
Member

@h-east h-east commented Jun 12, 2018

本家help(runtime/doc/*.txt)のtypoを報告するスレです。
その都度vim_devに報告するとウザいのである程度溜まってから報告します。

typo発見時のVimバージョン(8.1.xxxx)も添えていただけると助かります。

関連: #1032

@h-east
Copy link
Member Author

@h-east h-east commented Jun 12, 2018

vim-jp/vimdoc-ja-working#231 (comment)

diff --git a/runtime/doc/os_beos.txt b/runtime/doc/os_beos.txt
index 4639566e4..148f5fe0e 100644
--- a/runtime/doc/os_beos.txt
+++ b/runtime/doc/os_beos.txt
@@ -144,7 +144,7 @@ The default value for $VIM is set at compile time and can be determined with >
   :version
 
 The normal value is /boot/home/config/share/vim.  If you don't like it you can
-set the Vim environment variable to override this, or set 'helpfile' in your
+set the VIM environment variable to override this, or set 'helpfile' in your
 .vimrc: >
 
   :if version >= 500
@uakms
Copy link

@uakms uakms commented Jun 13, 2018

(8.1.0053 です)
縦棒は不要ではないでしょうか。

diff --git a/runtime/doc/ft_ada.txt b/runtime/doc/ft_ada.txt
index b446faf17..1d08bbb07 100644
--- a/runtime/doc/ft_ada.txt
+++ b/runtime/doc/ft_ada.txt
@@ -249,7 +249,7 @@ g:decada.Make_Command       string
                External command used for |g:decada.Make()| (|'makeprg'|).
 
                                                       *g:decada.Error_Format*
-g:decada.Error_Format| string
+g:decada.Error_Format  string
                Error format (|'errorformat'|).
 
 ==============================================================================
@h-east
Copy link
Member Author

@h-east h-east commented Jun 17, 2018

前スレの未報告分も含めてvim_devに報告しました。
https://groups.google.com/d/topic/vim_dev/TYM_T174lg8/discussion
但し、chipさんのは含んでいません。

@h-east
Copy link
Member Author

@h-east h-east commented Jun 19, 2018

diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 7c2547f10..02713d8e3 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1535,7 +1535,7 @@ phpFunctions.
 
 If you wish non-filetype syntax items to also be included, you can use a
 regular expression syntax (added in version 13.0 of
-autoload\syntaxcomplete.vim) to add items.  Looking at the output from
+autoload/syntaxcomplete.vim) to add items.  Looking at the output from
 ":syntax list" while editing a PHP file I can see some of these entries: >
     htmlArg,htmlTag,htmlTagName,javaScriptStatement,javaScriptGlobalObjects
 

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Jun 19, 2018

80カラム超え

diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index e553d467d..4e974579f 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -901,8 +901,8 @@ flag is used for the ":substitute" command to avoid an error for files where
 Note: When the 'write' option is off, you are not able to write any file.
 
 							*:w* *:write*
-						*E502* *E503* *E504* *E505*
-						*E512* *E514* *E667* *E796* *E949*
+					*E502* *E503* *E504* *E505*
+					*E512* *E514* *E667* *E796* *E949*
 :w[rite] [++opt]	Write the whole buffer to the current file.  This is
 			the normal way to save changes to a file.  It fails
 			when the 'readonly' option is set or when there is

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Jun 20, 2018

#1172 (comment) で送った分、8.1.0078の後のRuntimeファイル更新patch で反映されました。

@mnishz
Copy link
Member

@mnishz mnishz commented Jun 21, 2018

Ver. 8.1.0091です。
+eval タグのリンク貼り忘れと思われます。
vim-jp/vimdoc-ja-working#267

diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 62464780e..ff1d68d38 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -265,7 +265,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
 			loaded during initialization, see |load-plugins|.
 
 			Also see |pack-add|.
-			{only available when compiled with +eval}
+			{only available when compiled with |+eval|}
 
 						*:packl* *:packloadall*
 :packl[oadall][!]	Load all packages in the "start" directory under each
@@ -289,7 +289,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
 			An error only causes sourcing the script where it
 			happens to be aborted, further plugins will be loaded.
 			See |packages|.
-			{only available when compiled with +eval}
+			{only available when compiled with |+eval|}
 
 :scripte[ncoding] [encoding]		*:scripte* *:scriptencoding* *E167*
 			Specify the character encoding used in the script.

Fixed.

@mnishz
Copy link
Member

@mnishz mnishz commented Jun 22, 2018

Ver. 8.1.0091です。
"earch" -> "each" と思われます。

diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index f41dc703e..0c33845f5 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -320,8 +320,8 @@ then Vim will load all plugins in these directories and below:
 Note that the last one is the value of $VIMRUNTIME which has been expanded.
 
 Note that when using a plugin manager or |packages| many directories will be
-added to 'runtimepath'.  These plugins earch require their own directory,
-don't put them directly in ~/.vim/plugin.
+added to 'runtimepath'.  These plugins each require their own directory, don't
+put them directly in ~/.vim/plugin.
 
 What if it looks like your plugin is not being loaded?  You can find out what
 happens when Vim starts up by using the |-V| argument: >

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Jun 23, 2018

>がないのでハイライトされていない。 ←これは却下。(コマンドじゃなくてファイル名一覧なので)

diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 62464780e..e4eaa07e1 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -604,7 +604,7 @@ bit harder to update to a new version.  A repository can usually be kept
 up-to-date easily, but it requires a program like "git" to be available.
 You can do both, github can automatically create an archive for a release.
 
-Your directory layout would be like this:
+Your directory layout would be like this: >
    start/foobar/plugin/foo.vim    	" always loaded, defines commands
    start/foobar/plugin/bar.vim    	" always loaded, defines commands
    start/foobar/autoload/foo.vim  	" loaded when foo command used

却下.

@h-east
Copy link
Member Author

@h-east h-east commented Jun 26, 2018

全部報告しました。(Chipさんのは送ってない)
https://groups.google.com/d/msg/vim_dev/HInqhSuYxL4/3nadubU9BgAJ

@k-takata
Copy link
Member

@k-takata k-takata commented Jun 26, 2018

(Chipさんのは送ってない)

私が #1032 (comment) で送ったもののことを指していますか?それとも何か追加でありましたか?

@h-east
Copy link
Member Author

@h-east h-east commented Jun 26, 2018

あぁ、送ってくれていたんですね。No chip checkでした。👍

@mnishz
Copy link
Member

@mnishz mnishz commented Jun 30, 2018

Ver. 8.1.0127 です。
コマンド名のバッククォート抜けです。

diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 0206e7efa..c9e0c0575 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -661,7 +661,7 @@ DirChanged                  The working directory has changed in response
                                to the |:cd| or |:lcd| commands, or as a
                                result of the 'autochdir' option.
                                The pattern can be:
-                                       "window" to trigger on `:lcd
+                                       "window" to trigger on `:lcd`
                                        "global" to trigger on `:cd`
                                        "auto"   to trigger on 'autochdir'.
                                        "drop"   to trigger on editing a file

Fixed.

@mnishz
Copy link
Member

@mnishz mnishz commented Jul 2, 2018

vim-jp/vimdoc-ja-working#281 での指摘事項です。
Ver. 8.1.0137, "Vim Script" -> "Vim script"

diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index b59f28f47..ba6ed9c4f 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1451,7 +1451,7 @@ to the name of an external program for Vim to use for text formatting.  The
 program.

                                                         *format-formatexpr*
-The 'formatexpr' option can be set to a Vim Script function that performs
+The 'formatexpr' option can be set to a Vim script function that performs
 reformatting of the buffer.  This should usually happen in an |ftplugin|,
 since formatting is highly dependent on the type of file.  It makes
 sense to use an |autoload| script, so the corresponding script is only loaded

Fixed.

@k-takata
Copy link
Member

@k-takata k-takata commented Jul 3, 2018

http://www.leonerd.org.uk/code/libvterm/ で合っていると思います。

@h-east
Copy link
Member Author

@h-east h-east commented Jul 3, 2018

あぁ、http://bazaar.~ の方を見てました。。

@mnishz
Copy link
Member

@mnishz mnishz commented Jul 3, 2018

vim-jp/vimdoc-ja-working#281 での指摘事項です。
Ver. 8.1.0139、不要な大なり記号

diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index b59f28f47..e130032bf 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1485,7 +1485,7 @@ text.  Put it in your autoload directory, e.g. ~/.vim/autoload/format.vim: >

 You can then enable the formatting by executing: >
   setlocal formatexpr=format#Format()
->
+
 Note: this function explicitly returns non-zero when called from insert mode
 (which basically means, text is inserted beyond the 'textwidth' limit).  This
 causes Vim to fall back to reformat the text by using the internal formatter.

Fixed.

@mnishz
Copy link
Member

@mnishz mnishz commented Jul 16, 2018

Ver. 8.1.0186

  1. "vim" -> "Vim"
  2. "don't want turn ~ on" -> "don't want to turn ~ on"
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 7d588dc51..64d8469c7 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4363,7 +4363,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        methods.  Use 'imdisable' to disable XIM then.

        You can set 'imactivatefunc' and 'imstatusfunc' to handle IME/XIM
-       via external command if vim is not compiled with the |+xim|,
+       via external command if Vim is not compiled with the |+xim|,
        |+multi_byte_ime| or |global-ime|.

                                                *'imsearch'* *'ims'*
@@ -4483,9 +4483,9 @@ A jump table for the options with a short description can
be found at |Q_op|.
        The highlighting can be set with the 'i' flag in 'highlight'.
        When 'hlsearch' is on, all matched strings are highlighted too while
        typing a search command. See also: 'hlsearch'.
-       If you don't want turn 'hlsearch' on, but want to highlight all matches
-       while searching, you can turn on and off 'hlsearch' with autocmd.
-       Example: >
+       If you don't want to turn 'hlsearch' on, but want to highlight all
+       matches while searching, you can turn on and off 'hlsearch' with
+       autocmd. Example: >
                augroup vimrc-incsearch-highlight
                  autocmd!
                  autocmd CmdlineEnter /,\? :set hlsearch

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Jul 18, 2018

バッククォート1つ多め。

diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index cd2c664f5..9b4657b1f 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -635,7 +635,7 @@ Starting ~
 Load the plugin with this command: >
 	packadd termdebug
 <							*:Termdebug*
-To start debugging use `:Termdebug` or `:TermdebugCommand`` followed by the
+To start debugging use `:Termdebug` or `:TermdebugCommand` followed by the
 command name, for example: >
 	:Termdebug vim
 

Fixed.

@mnishz
Copy link
Member

@mnishz mnishz commented Jul 24, 2018

vim-jp/vimdoc-ja-working#295 (review)

Ver. 8.1.0209

  1. 80 カラム超え
  2. 余分なスペース
diff --git a/en/options.txt b/en/options.txt
index 7d588dc..ef6aff8 100644
--- a/en/options.txt
+++ b/en/options.txt
@@ -6640,7 +6640,8 @@ A jump table for the options with a short description can be found at |Q_op|.
           tabpages     all tab pages; without this only the current tab page
                        is restored, so that you can make a session for each
                        tab page separately
-          terminal     include terminal windows where the command can be restored
+          terminal     include terminal windows where the command can be
+                       restored
           unix         with Unix end-of-line format (single <NL>), even when
                        on Windows or DOS
           winpos       position of the whole Vim window
@@ -6676,7 +6677,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        Example with escaped space (Vim will do this when initializing the
        option from $SHELL): >
                :set shell=/bin/with\\\ space/sh
-<      The resulting value of 'shell' is  "/bin/with\ space/sh", two
+<      The resulting value of 'shell' is "/bin/with\ space/sh", two
        backslashes are consumed by `:set`.

        Under MS-Windows, when the executable ends in ".com" it must be

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Aug 3, 2018

vim-jp/vimdoc-ja-working#297
組み込み関数名をmark up。

diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 95bcfa06d..1399d8bed 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -46,7 +46,7 @@ compiler (see |errorformat| below).
 
 							*quickfix-ID*
 Each quickfix list has a unique identifier called the quickfix ID and this
-number will not change within a Vim session. The getqflist() function can be
+number will not change within a Vim session. The |getqflist()| function can be
 used to get the identifier assigned to a list. There is also a quickfix list
 number which may change whenever more than ten lists are added to a quickfix
 stack.
@@ -68,7 +68,7 @@ the location list is destroyed.
 Every quickfix and location list has a read-only changedtick variable that
 tracks the total number of changes made to the list.  Every time the quickfix
 list is modified, this count is incremented. This can be used to perform an
-action only when the list has changed.  The getqflist() and getloclist()
+action only when the list has changed.  The |getqflist()| and |getloclist()|
 functions can be used to query the current value of changedtick.  You cannot
 change the changedtick variable.
 
@@ -602,7 +602,7 @@ present).  Examples: >
 	echo getloclist(2, {'winid' : 1}).winid
 <
 							*getqflist-examples*
-The getqflist() and getloclist() functions can be used to get the various
+The |getqflist()| and |getloclist()| functions can be used to get the various
 attributes of a quickfix and location list respectively. Some examples for
 using these functions are below:
 >
@@ -659,7 +659,7 @@ using these functions are below:
     :echo getloclist(3, {'winid' : 0}).winid
 <
 							*setqflist-examples*
-The setqflist() and setloclist() functions can be used to set the various
+The |setqflist()| and |setloclist()| functions can be used to set the various
 attributes of a quickfix and location list respectively. Some examples for
 using these functions are below:
 >

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Aug 3, 2018

ここまでの分 vim_devに送付👍
https://groups.google.com/d/msg/vim_dev/UImMZ3IGizg/fjAh09o1BwAJ

@h-east
Copy link
Member Author

@h-east h-east commented Aug 13, 2018

報告分すべて反映されました。
vim/vim@d473c8c

@mnishz
Copy link
Member

@mnishz mnishz commented Aug 17, 2018

Ver. 8.1.0290

  1. remote_startserver() に無関係と思われる説明が付いています。remote_send() からヤンクして、その残骸ではないかと。
  2. setbufline() のサマリーのほうの引数名が間違っているように思います。:h setbufline() のほうに合わせました。("line" -> "text")
  3. test_feedinput() のサマリーのほうの引数名がありません。
  4. count() のサマリーのほうの引数名が間違っているように思います。:h count() のほうに合わせました。("list" -> "comp")
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 53ee2094e..6aa48dccf 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2324,7 +2324,6 @@ remote_read({serverid} [, {timeout}])
 remote_send({server}, {string} [, {idvar}])
                                String  send key sequence
 remote_startserver({name})     none    become server {name}
-                               String  send key sequence
 remove({list}, {idx} [, {end}])        any     remove items {idx}-{end} from {list}
 remove({dict}, {key})          any     remove entry {key} from {dict}
 rename({from}, {to})           Number  rename (move) file from {from} to {to}
@@ -2349,8 +2348,8 @@ searchpos({pattern} [, {flags} [, {stopline} [, {timeout}]]])
 server2client({clientid}, {string})
                                Number  send reply string
 serverlist()                   String  get a list of available servers
-setbufline({expr}, {lnum}, {line})
-                               Number  set line {lnum} to {line} in buffer
+setbufline({expr}, {lnum}, {text})
+                               Number  set line {lnum} to {text} in buffer
                                        {expr}
 setbufvar({expr}, {varname}, {val})
                                none    set {varname} in buffer {expr} to {val}
@@ -2456,7 +2455,7 @@ term_wait({buf} [, {time}])       Number  wait for screen to b
e updated
 test_alloc_fail({id}, {countdown}, {repeat})
                                none    make memory allocation fail
 test_autochdir()               none    enable 'autochdir' during startup
-test_feedinput()               none    add key sequence to input buffer
+test_feedinput({string})       none    add key sequence to input buffer
 test_garbagecollect_now()      none    free memory right now for testing
 test_ignore_error({expr})      none    ignore a specific error
 test_null_channel()            Channel null value for testing
@@ -2101,8 +2101,8 @@ confirm({msg} [, {choices} [, {default} [, {type}]]])
 copy({expr})                   any     make a shallow copy of {expr}
 cos({expr})                    Float   cosine of {expr}
 cosh({expr})                   Float   hyperbolic cosine of {expr}
-count({list}, {expr} [, {ic} [, {start}]])
-                               Number  count how many {expr} are in {list}
+count({comp}, {expr} [, {ic} [, {start}]])
+                               Number  count how many {expr} are in {comp}
 cscope_connection([{num}, {dbpath} [, {prepend}]])
                                Number  checks existence of cscope connection
 cursor({lnum}, {col} [, {off}])

Fixed.

@mnishz
Copy link
Member

@mnishz mnishz commented Aug 17, 2018

eval.txt に関連して他に気が付いたのが、:h functions の中の以下の 2 点です。

  1. appendbufline() の項目がない。:h appendbufline() 自体はある。
  2. prompt_addtext() という存在しない関数がある。

prompt_addtext() に関しては、以下の commit で help の記述が入ったようですが、関数自体が src の中に見当たらないです。一度も実装されていなんじゃないかと思います。消し忘れた?同時に入った prompt_setcallback() はありました。
vim/vim@f273245#diff-bea881dfa9626bab7141337b0fcdb23eR2297
ちなみに runtime/syntax/vim.vim の vimFuncName の中にもいるようなので、これも直したほうがよさそうですね。他には見当たりませんでした。

ここ (typo報告スレ) でやる内容とは違いますでしょうか。

@h-east
Copy link
Member Author

@h-east h-east commented Sep 29, 2019

from vim-jp/vimdoc-ja-working/pull/663

  • helpラベルのハイライトグループが "helpExample" になっている箇所を修正。(6箇所)
  • Can also be used as a |method|, ~ の後半の表現が微妙にいくつもあるので統一してみました。
  • state() の w の "," と "and" が逆なのと、折返し位置が変なのを修正。
  • str2nr() の例は let nr = str2nr('0123') では? (0 を使わないと文章とあわない)
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index f8f7e4844..586fa53ba 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -3540,8 +3540,8 @@ complete({startcol}, {matches})			*complete()* *E785*
 <		This isn't very useful, but it shows how it works.  Note that
 		an empty string is returned to avoid a zero being inserted.
 
-		Can also be used as a |method|, the second argument is passed
-		in: >
+		Can also be used as a |method|, the base is passed as the
+		second argument: >
 			GetMatches()->complete(col('.'))
 
 complete_add({expr})				*complete_add()*
@@ -3676,7 +3676,7 @@ confirm({msg} [, {choices} [, {default} [, {type}]]])
 
 		Can also be used as a |method|in: >
 			BuildMessage()->confirm("&Yes\n&No")
-
+<
 							*copy()*
 copy({expr})	Make a copy of {expr}.  For Numbers and Strings this isn't
 		different from using {expr} directly.
@@ -3879,7 +3879,7 @@ deletebufline({expr}, {first} [, {last}])		*deletebufline()*
 
 		Can also be used as a |method|: >
 			GetBuffer()->deletebufline(1)
-
+<
 							*did_filetype()*
 did_filetype()	Returns |TRUE| when autocommands are being executed and the
 		FileType event has been triggered at least once.  Can be used
@@ -4040,7 +4040,7 @@ exepath({expr})						*exepath()*
 
 		Can also be used as a |method|: >
 			GetCommand()->exepath()
-
+<
 							*exists()*
 exists({expr})	The result is a Number, which is |TRUE| if {expr} is defined,
 		zero otherwise.
@@ -4566,7 +4566,7 @@ foldlevel({lnum})					*foldlevel()*
 
 		Can also be used as a |method|: >
 			GetLnum()->foldlevel()
-
+<
 							*foldtext()*
 foldtext()	Returns a String, to be displayed for a closed fold.  This is
 		the default function used for the 'foldtext' option and should
@@ -5848,7 +5848,7 @@ histadd({history}, {item})				*histadd()*
 			:let date=input("Enter date: ")
 <		This function is not available in the |sandbox|.
 
-		Can also be used as a |method|, the base is used for the
+		Can also be used as a |method|, the base is passed as the
 		second argument: >
 			GetHistory()->histadd('search')
 
@@ -6376,8 +6376,8 @@ libcall({libname}, {funcname}, {argument})
 		Examples: >
 			:echo libcall("libc.so", "getenv", "HOME")
 
-<		Can also be used as a |method|, where the base is passed as
-		the argument to the called function: >
+<		Can also be used as a |method|, the base is passed as the
+		third argument: >
 			GetValue()->libcall("libc.so", "getenv")
 <
 							*libcallnr()*
@@ -6391,8 +6391,8 @@ libcallnr({libname}, {funcname}, {argument})
 			:call libcallnr("libc.so", "printf", "Hello World!\n")
 			:call libcallnr("libc.so", "sleep", 10)
 <
-		Can also be used as a |method|, where the base is passed as
-		the argument to the called function: >
+		Can also be used as a |method|, the base is passed as the
+		third argument: >
 			GetValue()->libcallnr("libc.so", "printf")
 <
 
@@ -6544,7 +6544,7 @@ listener_add({callback} [, {buf}])			*listener_add()*
 		unloaded, use the |BufUnload| autocmd event for that.
 
 		Can also be used as a |method|, where the base is passed as
-		the second argument, the buffer: >
+		the second argument: >
 			GetBuffer()->listener_add(callback)
 
 listener_flush([{buf}])					*listener_flush()*
@@ -7014,6 +7014,7 @@ matchstrpos({expr}, {pat} [, {start} [, {count}]])		*matchstrpos()*
 
 		Can also be used as a |method|: >
 			GetText()->matchstrpos('word')
+<
 							*max()*
 max({expr})	Return the maximum value of all items in {expr}.
 		{expr} can be a list or a dictionary.  For a dictionary,
@@ -8348,7 +8349,8 @@ setenv({name}, {val})						*setenv()*
 		When {val} is |v:null| the environment variable is deleted.
 		See also |expr-env|.
 
-		Can also be used as a |method|, passing the value as the base: >
+		Can also be used as a |method|, the base is passed as the
+		second argument: >
 			GetPath()->setenv('PATH')
 
 setfperm({fname}, {mode})				*setfperm()* *chmod*
@@ -8397,7 +8399,8 @@ setline({lnum}, {text})					*setline()*
 
 <		Note: The '[ and '] marks are not set.
 
-		Can also be used as a |method|, passing the text as the base: >
+		Can also be used as a |method|, the base is passed as the
+		second argument: >
 			GetText()->setline(lnum)
 
 setloclist({nr}, {list} [, {action} [, {what}]])		*setloclist()*
@@ -8646,7 +8649,8 @@ settabvar({tabnr}, {varname}, {val})			*settabvar()*
 		Tabs are numbered starting with one.
 		This function is not available in the |sandbox|.
 
-		Can also be used as a |method|, the base is used as the value: >
+		Can also be used as a |method|, the base is passed as the
+		third argument: >
 			GetValue()->settabvar(tab, name)
 
 settabwinvar({tabnr}, {winnr}, {varname}, {val})	*settabwinvar()*
@@ -8667,7 +8671,8 @@ settabwinvar({tabnr}, {winnr}, {varname}, {val})	*settabwinvar()*
 			:call settabwinvar(3, 2, "myvar", "foobar")
 <		This function is not available in the |sandbox|.
 
-		Can also be used as a |method|, the base is used as the value: >
+		Can also be used as a |method|, the base is passed as the
+		fourth argument: >
 			GetValue()->settabvar(tab, winnr, name)
 
 settagstack({nr}, {dict} [, {action}])			*settagstack()*
@@ -8701,7 +8706,8 @@ settagstack({nr}, {dict} [, {action}])			*settagstack()*
 			call settagstack(1003, stack)
 			unlet stack
 <
-		Can also be used as a |method|, the base is used as the Dict: >
+		Can also be used as a |method|, the base is passed as the
+		second argument: >
 			GetStack()->settagstack(winnr)
 
 setwinvar({winnr}, {varname}, {val})			*setwinvar()*
@@ -8710,7 +8716,8 @@ setwinvar({winnr}, {varname}, {val})			*setwinvar()*
 			:call setwinvar(1, "&list", 0)
 			:call setwinvar(2, "myvar", "foobar")
 
-<		Can also be used as a |method|, the base is used as the value: >
+<		Can also be used as a |method|, the base is passed as the
+		third argument: >
 			GetValue()->setwinvar(winnr, name)
 
 sha256({string})						*sha256()*
@@ -9078,8 +9085,8 @@ state([{what}])						*state()*
 		        e.g. after |f|
 		    a	Insert mode autocomplete active
 		    x	executing an autocommand
-		    w	blocked on waiting, e.g. ch_evalexpr() and
-			ch_read(), ch_readraw() when reading json.
+		    w	blocked on waiting, e.g. ch_evalexpr(), ch_read() and
+			ch_readraw() when reading json.
 		    S	not triggering SafeState or SafeStateAgain
 		    c	callback invoked, including timer (repeats for
 			recursiveness up to "ccc")
@@ -9130,7 +9137,7 @@ str2nr({expr} [, {base} [, {quoted}]])				*str2nr()*
 		When {base} is omitted base 10 is used.  This also means that
 		a leading zero doesn't cause octal conversion to be used, as
 		with the default String to Number conversion.  Example: >
-			let nr = str2nr('123')
+			let nr = str2nr('0123')
 <
 		When {base} is 16 a leading "0x" or "0X" is ignored.  With a
 		different base the result will be zero.  Similarly, when
@@ -9247,6 +9254,7 @@ stridx({haystack}, {needle} [, {start}])		*stridx()*
 
 		Can also be used as a |method|: >
 			GetHaystack()->stridx(needle)
+<
 							*string()*
 string({expr})	Return {expr} converted to a String.  If {expr} is a Number,
 		Float, String, Blob or a composition of them, then the result
@@ -10137,8 +10145,8 @@ win_execute({id}, {command} [, {silent}])		*win_execute()*
 		Not all commands are allowed in popup windows.
 		When window {id} does not exist then no error is given.
 
-		Can also be used as a |method|, the base is used for the
-		command: >
+		Can also be used as a |method|, the base is passed as the
+		second argument: >
 			GetCommand()->win_execute(winid)
 
 win_findbuf({bufnr})					*win_findbuf()*
@@ -10456,11 +10464,11 @@ xor({expr}, {expr})					*xor()*
 		to a number.  A List, Dict or Float argument causes an error.
 		Example: >
 			:let bits = xor(bits, 0x80)
-<		Can also be used as a |method|: >
+<
+		Can also be used as a |method|: >
 			:let bits = bits->xor(0x80)
 <
 
-
 							*feature-list*
 There are four types of features:
 1.  Features that are only supported when they have been enabled when Vim

(追記) All fixed👍

@h-east
Copy link
Member Author

@h-east h-east commented Sep 30, 2019

from vim-jp/vimdoc-ja-working/pull/678

80桁越え

diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index 36c49b8ba..e7f9af921 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -949,10 +949,12 @@ Function call arguments will indent 1 extra level. For two-space indentation: >
 -------------
 
 				*PHP_IndentFunctionDeclarationParameters*
-Extra indentation levels to add to arguments in multi-line function definitions. >
+Extra indentation levels to add to arguments in multi-line function
+definitions. >
     let g:PHP_IndentFunctionDeclarationParameters = 1
 
-Function arguments in declarations will indent 1 extra level. For two-space indentation: >
+Function arguments in declarations will indent 1 extra level. For two-space
+indentation: >
 
     function call_the_thing(
         $with_this,

Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Oct 8, 2019

@0Delta
Copy link
Member

@0Delta 0Delta commented Oct 9, 2019

from vim-jp/vimdoc-ja-working#681
行頭spaceの次にTabが続く箇所が多数あったのを修正。

diff --git a/en/pi_netrw.txt b/en/pi_netrw.txt
index 9a75a95f..bb81a471 100644
--- a/en/pi_netrw.txt
+++ b/en/pi_netrw.txt
@@ -2731,7 +2731,7 @@ your browsing preferences.  (see also: |netrw-settings|)
 				escaped before applying glob()
 
   *g:netrw_gx*			="<cfile>"
- 				This option controls how gx (|netrw-gx|) picks
+				This option controls how gx (|netrw-gx|) picks
 				up the text under the cursor.  See |expand()|
 				for possibilities.
 
@@ -2797,11 +2797,11 @@ your browsing preferences.  (see also: |netrw-settings|)
 				directory (|netrw-mt|, |netrw-mc|)
 
   *g:netrw_localcopycmdopt*	=''             Linux/Unix/MacOS/Cygwin
-  				=' \c copy'                     Windows
+				=' \c copy'                     Windows
 				Options for the |g:netrw_localcopycmd|
 
   *g:netrw_localcopydircmd*	="cp"           Linux/Unix/MacOS/Cygwin
- 				=expand("$COMSPEC")             Windows
+				=expand("$COMSPEC")             Windows
 				Copies directories to target directory.
 				(|netrw-mc|, |netrw-mt|)
 
@@ -2827,7 +2827,7 @@ your browsing preferences.  (see also: |netrw-settings|)
 				Options for |g:netrw_localmovecmd|
 
   *g:netrw_localrmdir*		="rmdir"        Linux/Unix/MacOS/Cygwin
- 				=expand("$COMSPEC")             Windows
+				=expand("$COMSPEC")             Windows
 				Remove directory command (rmdir)
 				This variable is only used if your vim is
 				earlier than 7.4 or if your vim doesn't
@@ -2863,10 +2863,10 @@ your browsing preferences.  (see also: |netrw-settings|)
 				(see |'ballooneval'|)
 
  *g:netrw_sizestyle*		not defined: actual bytes (default)
- 				="b" : actual bytes       (default)
- 				="h" : human-readable (ex. 5k, 4m, 3g)
+				="b" : actual bytes       (default)
+				="h" : human-readable (ex. 5k, 4m, 3g)
 				       uses 1000 base
- 				="H" : human-readable (ex. 5K, 4M, 3G)
+				="H" : human-readable (ex. 5K, 4M, 3G)
 				       uses 1024 base
 				The long listing (|netrw-i|) and query-file
 				maps (|netrw-qf|) will display file size
@@ -2914,7 +2914,7 @@ your browsing preferences.  (see also: |netrw-settings|)
 				 default: "NETRWSERVER"
 
   *g:netrw_sort_by*		sort by "name", "time", "size", or
-  				"exten".
+				"exten".
 				 default: "name"
 
   *g:netrw_sort_direction*	sorting direction: "normal" or "reverse"
@@ -2971,7 +2971,7 @@ your browsing preferences.  (see also: |netrw-settings|)
 					.vim/after/syntax/netrw.vim.
 <				 The netrwGray highlighting is set up by
 				netrw when >
-	       				* netrwGray has not been previously
+					* netrwGray has not been previously
 					  defined
 					* the gui is running
 <				 As an example, I myself use a dark-background
@@ -3225,7 +3225,7 @@ If there are marked files:  (see |netrw-mf|)
     name, applying that substitute, and renaming each file to the result.
     As an example : >
 
-    	mr  [query: reply with *.c]
+	mr  [query: reply with *.c]
 	R   [query: reply with s/^\(.*\)\.c$/\1.cpp/]
 <
     This example will mark all *.c files and then rename them to *.cpp
@@ -3233,7 +3233,7 @@ If there are marked files:  (see |netrw-mf|)
 
     The ctrl-X character has special meaning for renaming files: >
 
-    	<c-x>      : a single ctrl-x tells netrw to ignore the portion of the response
+	<c-x>      : a single ctrl-x tells netrw to ignore the portion of the response
 	             lying between the last '/' and the ctrl-x.
 
 	<c-x><c-x> : a pair of contiguous ctrl-x's tells netrw to ignore any
@0Delta
Copy link
Member

@0Delta 0Delta commented Oct 9, 2019

from vim-jp/vimdoc-ja-working#681
誰かさんの.vimrcが紛れていたのを修正

diff --git a/en/pi_netrw.txt b/en/pi_netrw.txt
index 9a75a95f..5deaf415 100644
--- a/en/pi_netrw.txt
+++ b/en/pi_netrw.txt
@@ -2474,8 +2474,6 @@ get a version.  I myself use hdrtags, currently available at
 http://www.drchip.org/astronaut/src/index.html , and have >
 
 	let g:netrw_ctags= "hdrtag"
-<
-in my <.vimrc>.
 
 When a remote set of files are tagged, the resulting tags file is "obtained";
 ie. a copy is transferred to the local system's directory.  The now local tags
@0Delta
Copy link
Member

@0Delta 0Delta commented Oct 9, 2019

from vim-jp/vimdoc-ja-working#681
QA集のフォーマットが後半に従い崩れているのを修正。

diff --git a/en/pi_netrw.txt b/en/pi_netrw.txt
index 9a75a95f..79039e37 100644
--- a/en/pi_netrw.txt
+++ b/en/pi_netrw.txt
@@ -3449,7 +3449,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
 	P6. I want my current directory to track my browsing.               {{{2
 	    How do I do that?
 
-	    Put the following line in your |.vimrc|:
+		Put the following line in your |.vimrc|:
 >
 		let g:netrw_keepdir= 0
 <
@@ -3486,7 +3486,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
 		sounds most similar to what you are looking for. plink is an
 		application in the putty suite.
 
-           http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#plink
+		http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#plink
 
 		(Vissale Neang) Maybe you can try OpenSSH for windows, which
 		can be obtained from:
@@ -3499,7 +3499,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
 		for work in a native-Windows environment, I recommend getting
 		them from the GnuWin32 project on sourceforge if it has them:
 
-		    http://gnuwin32.sourceforge.net/
+		http://gnuwin32.sourceforge.net/
 
 		Unlike Cygwin, which sets up a Unix-like virtual machine on
 		top of Windows, GnuWin32 is a rewrite of Unix utilities with
@@ -3577,13 +3577,13 @@ Example: Clear netrw's marked file list via a mapping on gu >
 	P11. I want to have two windows; a thin one on the left and my      {{{2
 	     editing window on the right.  How may I accomplish this?
 
-	     You probably want netrw running as in a side window.  If so, you
-	     will likely find that ":[N]Lexplore" does what you want.  The
-	     optional "[N]" allows you to select the quantity of columns you
-	     wish the |:Lexplore|r window to start with (see |g:netrw_winsize|
-	     for how this parameter works).
+		You probably want netrw running as in a side window.  If so, you
+		will likely find that ":[N]Lexplore" does what you want.  The
+		optional "[N]" allows you to select the quantity of columns you
+		wish the |:Lexplore|r window to start with (see |g:netrw_winsize|
+		for how this parameter works).
 
-	     Previous solution:
+		Previous solution:
 
 		* Put the following line in your <.vimrc>:
 			let g:netrw_altv = 1
@@ -3604,10 +3604,10 @@ Example: Clear netrw's marked file list via a mapping on gu >
 	     appearing in the listed filenames, or things aren't lining
 	     up properly in the wide listing, ...
 
-	     This may be due to an encoding problem.  I myself usually use
-	     utf-8, but really only use ascii (ie. bytes from 32-126).
-	     Multibyte encodings use two (or more) bytes per character.
-	     You may need to change |g:netrw_sepchr| and/or |g:netrw_xstrlen|.
+		This may be due to an encoding problem.  I myself usually use
+		utf-8, but really only use ascii (ie. bytes from 32-126).
+		Multibyte encodings use two (or more) bytes per character.
+		You may need to change |g:netrw_sepchr| and/or |g:netrw_xstrlen|.
 
 								*netrw-p13*
 	P13. I'm a Windows + putty + ssh user, and when I attempt to        {{{2
@@ -3615,45 +3615,45 @@ Example: Clear netrw's marked file list via a mapping on gu >
 	     them as file transfers instead of as attempts to browse
 	     subdirectories.  How may I fix this?
 
-	     (mikeyao) If you want to use vim via ssh and putty under Windows,
-	     try combining the use of pscp/psftp with plink.  pscp/psftp will
-	     be used to connect and plink will be used to execute commands on
-	     the server, for example: list files and directory using 'ls'.
+		(mikeyao) If you want to use vim via ssh and putty under Windows,
+		try combining the use of pscp/psftp with plink.  pscp/psftp will
+		be used to connect and plink will be used to execute commands on
+		the server, for example: list files and directory using 'ls'.
 
-	     These are the settings I use to do this:
+		These are the settings I use to do this:
 >
-	    " list files, it's the key setting, if you haven't set,
-	    " you will get a blank buffer
-	    let g:netrw_list_cmd = "plink HOSTNAME ls -Fa"
-	    " if you haven't add putty directory in system path, you should
-	    " specify scp/sftp command.  For examples:
-	    "let g:netrw_sftp_cmd = "d:\\dev\\putty\\PSFTP.exe"
-	    "let g:netrw_scp_cmd = "d:\\dev\\putty\\PSCP.exe"
+		" list files, it's the key setting, if you haven't set,
+		" you will get a blank buffer
+		let g:netrw_list_cmd = "plink HOSTNAME ls -Fa"
+		" if you haven't add putty directory in system path, you should
+		" specify scp/sftp command.  For examples:
+		"let g:netrw_sftp_cmd = "d:\\dev\\putty\\PSFTP.exe"
+		"let g:netrw_scp_cmd = "d:\\dev\\putty\\PSCP.exe"
 <
 								*netrw-p14*
 	P14. I would like to speed up writes using Nwrite and scp/ssh       {{{2
 	     style connections.  How?  (Thomer M. Gil)
 
-	     Try using ssh's ControlMaster and ControlPath (see the ssh_config
-	     man page) to share multiple ssh connections over a single network
-	     connection. That cuts out the cryptographic handshake on each
-	     file write, sometimes speeding it up by an order of magnitude.
-	     (see  http://thomer.com/howtos/netrw_ssh.html)
-	     (included by permission)
+		Try using ssh's ControlMaster and ControlPath (see the ssh_config
+		man page) to share multiple ssh connections over a single network
+		connection. That cuts out the cryptographic handshake on each
+		file write, sometimes speeding it up by an order of magnitude.
+		(see  http://thomer.com/howtos/netrw_ssh.html)
+		(included by permission)
 
-	     Add the following to your ~/.ssh/config: >
+		Add the following to your ~/.ssh/config: >
 
 		 # you change "*" to the hostname you care about
 		 Host *
 		   ControlMaster auto
 		   ControlPath /tmp/%r@%h:%p
 
-<	     Then create an ssh connection to the host and leave it running: >
+<		Then create an ssh connection to the host and leave it running: >
 
 		 ssh -N host.domain.com
 
-<	     Now remotely open a file with Vim's Netrw and enjoy the
-	     zippiness: >
+<		Now remotely open a file with Vim's Netrw and enjoy the
+		zippiness: >
 
 		vim scp://host.domain.com//home/user/.bashrc
 <
@@ -3661,47 +3661,50 @@ Example: Clear netrw's marked file list via a mapping on gu >
 	P15. How may I use a double-click instead of netrw's usual single   {{{2
 	     click to open a file or directory?  (Ben Fritz)
 
-	     First, disable netrw's mapping with >
+		First, disable netrw's mapping with >
 		    let g:netrw_mousemaps= 0
-<	     and then create a netrw buffer only mapping in
-	     $HOME/.vim/after/ftplugin/netrw.vim: >
+<		and then create a netrw buffer only mapping in
+		$HOME/.vim/after/ftplugin/netrw.vim: >
 		    nmap <buffer> <2-leftmouse> <CR>
-<	     Note that setting g:netrw_mousemaps to zero will turn off
-	     all netrw's mouse mappings, not just the <leftmouse> one.
-	     (see |g:netrw_mousemaps|)
+<		Note that setting g:netrw_mousemaps to zero will turn off
+		all netrw's mouse mappings, not just the <leftmouse> one.
+		(see |g:netrw_mousemaps|)
 
 								*netrw-p16*
 	P16. When editing remote files (ex. :e ftp://hostname/path/file),   {{{2
 	     under Windows I get an |E303| message complaining that its unable
 	     to open a swap file.
 
-	     (romainl) It looks like you are starting Vim from a protected
-	     directory.  Start netrw from your $HOME or other writable
-	     directory.
+		(romainl) It looks like you are starting Vim from a protected
+		directory.  Start netrw from your $HOME or other writable
+		directory.
 
 								*netrw-p17*
 	P17. Netrw is closing buffers on its own.                           {{{2
 	     What steps will reproduce the problem?
+
 		1. :Explore, navigate directories, open a file
 		2. :Explore, open another file
 		3. Buffer opened in step 1 will be closed. o
-	    What is the expected output? What do you see instead?
+		What is the expected output? What do you see instead?
 		I expect both buffers to exist, but only the last one does.
 
-	   (Lance) Problem is caused by "set autochdir" in .vimrc.
-	   (drchip) I am able to duplicate this problem with |'acd'| set.
-	            It appears that the buffers are not exactly closed;
+		(Lance) Problem is caused by "set autochdir" in .vimrc.
+		(drchip) I am able to duplicate this problem with |'acd'| set.
+		    It appears that the buffers are not exactly closed;
 		    a ":ls!" will show them (although ":ls" does not).
 
 								*netrw-P18*
 	P18. How to locally edit a file that's only available via           {{{2
 	     another server accessible via ssh?
-	     See http://stackoverflow.com/questions/12469645/
-	     "Using Vim to Remotely Edit A File on ServerB Only
-	      Accessible From ServerA"
+
+		See http://stackoverflow.com/questions/12469645/
+		"Using Vim to Remotely Edit A File on ServerB Only
+		Accessible From ServerA"
 
 								*netrw-P19*
 	P19. How do I get numbering on in directory listings?               {{{2
+
 		With |g:netrw_bufsettings|, you can control netrw's buffer
 		settings; try putting >
 		  let g:netrw_bufsettings="noma nomod nu nobl nowrap ro nornu"
@@ -3711,6 +3714,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
 <
 								*netrw-P20*
 	P20. How may I have gvim start up showing a directory listing?      {{{2
+
 		Try putting the following code snippet into your .vimrc: >
 		    augroup VimStartup
 		      au!
@@ -3724,7 +3728,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
 
 								*netrw-P21*
 	P21. I've made a directory (or file) with an accented character,    {{{2
-		but netrw isn't letting me enter that directory/read that file:
+	     but netrw isn't letting me enter that directory/read that file:
 
 		Its likely that the shell or o/s is using a different encoding
 		than you have vim (netrw) using.  A patch to vim supporting
@@ -3738,18 +3742,18 @@ Example: Clear netrw's marked file list via a mapping on gu >
 
 		**error** (netrw) tried using g:netrw_localcopycmd<cp>; it doesn't work!
 
-	     What's wrong?
+		What's wrong?
 
-	     Netrw uses several system level commands to do things (see
+		Netrw uses several system level commands to do things (see
 
 		 |g:netrw_localcopycmd|, |g:netrw_localmovecmd|,
 		 |g:netrw_localrmdir|, |g:netrw_mkdir_cmd|).
 
-	    You may need to adjust the default commands for one or more of
-	    these commands by setting them properly in your .vimrc.  Another
-	    source of difficulty is that these commands use vim's local
-	    directory, which may not be the same as the browsing directory
-	    shown by netrw (see |g:netrw_keepdir|).
+		You may need to adjust the default commands for one or more of
+		these commands by setting them properly in your .vimrc.  Another
+		source of difficulty is that these commands use vim's local
+		directory, which may not be the same as the browsing directory
+		shown by netrw (see |g:netrw_keepdir|).
 
 
 ==============================================================================
@h-east
Copy link
Member Author

@h-east h-east commented Oct 19, 2019

from vim-jp/vimdoc-ja-working/pull/689
先頭の : 抜け

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 09310e627..da90b2115 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -488,7 +488,7 @@ as a key.
 To avoid having to put quotes around every key the #{} form can be used.  This
 does require the key to consist only of ASCII letters, digits, '-' and '_'.
 Example: >
-	let mydict = #{zero: 0, one_key: 1, two-key: 2, 333: 3}
+	:let mydict = #{zero: 0, one_key: 1, two-key: 2, 333: 3}
 Note that 333 here is the string "333".  Empty keys are not possible with #{}.
 
 A value can be any expression.  Using a Dictionary for a value creates a

(追記) Fixed.

@Milly
Copy link

@Milly Milly commented Oct 23, 2019

@0Delta

from vim-jp/vimdoc-ja-working#681
誰かさんの.vimrcが紛れていたのを修正

「私は自分の .vimrc に(example)と設定をしてるよ。」の文章の一部なので削除してはいけないのではないでしょうか。
(jax では意訳されてますが。)

@h-east
Copy link
Member Author

@h-east h-east commented Oct 23, 2019

from vim-jp/vimdoc-ja-working/pull/696
タブと空白が混ざっている

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index e62ee8974..54e0744e6 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1920,7 +1920,7 @@ A jump table for the options with a short description can be found at |Q_op|.
 		    {only works when compiled with the |+textprop| feature}
 
 	   popuphidden
-	   	    Just like "popup" but initially hide the popup.  Use a
+		    Just like "popup" but initially hide the popup.  Use a
 		    |CompleteChanged| autocommand to fetch the info and call
 		    |popup_show()| once the popup has been filled.
 		    See the example at |complete-popuphidden|.

(追記) Fixed.

@Milly
Copy link

@Milly Milly commented Oct 23, 2019

@0Delta

-           http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#plink
+		http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#plink

これはURLが折り返せないので、79列に収まらせようとしてそうなってるのかと。
他の個所で長すぎてはみ出してる行もありますが。

@h-east
Copy link
Member Author

@h-east h-east commented Oct 27, 2019

from vim-jp/vimdoc-ja-working/pull/706

"zsh-beta",の後ろに空白が無いために折り返しがおかしくなっている。

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 029a0727f..24730320f 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6542,12 +6542,11 @@ A jump table for the options with a short description can be found at |Q_op|.
 	of this option).
 	The default is ">".  For Unix, if the 'shell' option is "csh" or
 	"tcsh" during initializations, the default becomes ">&".  If the
-	'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh",
-	"zsh-beta","bash" or "fish", the default becomes ">%s 2>&1".  This
-	means that stderr is also included.  For Win32, the Unix checks are
-	done and additionally "cmd" is checked for, which makes the default
-	">%s 2>&1".  Also, the same names with ".exe" appended are checked
-	for.
+	'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh", "zsh-beta",
+	"bash" or "fish", the default becomes ">%s 2>&1".  This means that
+	stderr is also included.  For Win32, the Unix checks are done and
+	additionally "cmd" is checked for, which makes the default ">%s 2>&1".
+	Also, the same names with ".exe" appended are checked for.
 	The initialization of this option is done after reading the ".vimrc"
 	and the other initializations, so that when the 'shell' option is set
 	there, the 'shellredir' option changes automatically unless it was

(追記) Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Oct 29, 2019

from vim-jp/vimdoc-ja-working/pull/716

gm タグの重複。

diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index 9ac460a73..1afa7bbe9 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -227,7 +227,7 @@ g^			When lines wrap ('wrap' on): To the first non-blank
 gm			Like "g0", but half a screenwidth to the right (or as
 			much as possible).
 
-							*gm* *gM*
+							*gM*
 gM			Like "g0", but to halfway the text of the line.
 			With a count: to this percentage of text in the line.
 			Thus "10gM" is near the start of the text and "90gM"

Fixed.

@tsuyoshicho
Copy link
Contributor

@tsuyoshicho tsuyoshicho commented Nov 13, 2019

行末空白箇所と、getwinposでの関数のリンク
行末空白は他に指摘があるかもしれないor不要な変更かもしれない...ですが

diff --git a/en/eval.txt b/en/eval.txt
index 30ec02d3..96c69a42 100644
--- a/en/eval.txt
+++ b/en/eval.txt
@@ -2666,7 +2666,7 @@ remote_read({serverid} [, {timeout}])
 remote_send({server}, {string} [, {idvar}])
 				String	send key sequence
 remote_startserver({name})	none	become server {name}
-remove({list}, {idx} [, {end}])	any/List 
+remove({list}, {idx} [, {end}])	any/List
 					remove items {idx}-{end} from {list}
 remove({blob}, {idx} [, {end}])	Number/Blob
 					remove bytes {idx}-{end} from {blob}
@@ -5603,7 +5603,7 @@ getwininfo([{winid}])					*getwininfo()*
 			terminal	1 if a terminal window
 					{only with the +terminal feature}
 			tabnr		tab page number
-			topline		first displayed buffer line 
+			topline		first displayed buffer line
 			variables	a reference to the dictionary with
 					window-local variables
 			width		window width
@@ -5621,7 +5621,7 @@ getwininfo([{winid}])					*getwininfo()*
 
 getwinpos([{timeout}])					*getwinpos()*
 		The result is a list with two numbers, the result of
-		getwinposx() and getwinposy() combined:
+		|getwinposx()| and |getwinposy()| combined:
 			[x-pos, y-pos]
 		{timeout} can be used to specify how long to wait in msec for
 		a response from the terminal.  When omitted 100 msec is used.
@@ -7072,9 +7072,9 @@ mkdir({name} [, {path} [, {prot}]])
 
 		There is no error if the directory already exists and the "p"
 		flag is passed (since patch 8.0.1708).  However, without the
-		"p" option the call will fail.  
+		"p" option the call will fail.
 
-		The function result is a Number, which is 1 if the call was 
+		The function result is a Number, which is 1 if the call was
 		successful or 0 if the directory creation failed or partly
 		failed.

(追記) Fixed.

@mityu
Copy link

@mityu mityu commented Nov 13, 2019

:help 'name' もありませんし、ダブルクォーテーションの方が良いかと。

diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index e66bbcb..020b1e0 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -371,7 +371,7 @@ sign_define({list})
 
                The one argument {list} can be used to define a list of signs.
                Each list item is a dictionary with the above items in {dict}
-               and a 'name' item for the sign name.
+               and a "name" item for the sign name.
 
                Returns 0 on success and -1 on failure.  When the one argument
                {list} is used, then returns a List of values one for each

(追記) Fixed.

@rbtnn
Copy link

@rbtnn rbtnn commented Nov 17, 2019

diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
index bdd827281..6168bd6a6 100644
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -863,7 +863,7 @@ Some recommended key actions:
 	Tab		accept current suggestion
 
 A mouse click arrives as <LeftMouse>.  The coordinates can be obtained with
-|mousegetpos()|.
+|getmousepos()|.
 
 Vim provides standard filters |popup_filter_menu()| and
 |popup_filter_yesno()|.

typo発見時のVimバージョン: 8.1.2311


(追記) Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Nov 21, 2019

実情と異なっていたので修正。

diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index d83035cc7..4dcf2be1b 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1046,12 +1046,12 @@ file for now, e.g.: >
 
 The test will then fail, giving you the command to compare the reference dump
 and the failed dump, e.g.: >
-	call term_dumpdiff("Test_func.dump.failed", "dumps/Test_func.dump")
+	call term_dumpdiff("failed/Test_func.dump", "dumps/Test_func.dump")
 
 Use this command in Vim, with the current directory set to src/testdir.
 Once you are satisfied with the test, move the failed dump in place of the
 reference: >
-	:!mv Test_func.dump.failed dumps/Test_func.dump
+	:!mv failed/Test_func.dump dumps/Test_func.dump
 
 
 Creating a screen dump ~

(追記) Fixed.

@h-east
Copy link
Member Author

@h-east h-east commented Nov 21, 2019

ここまでの分を報告。(pi_netrw.txtを除く)
https://groups.google.com/d/msg/vim_dev/86M5lAqB9Cg/d3H7hbJXAAAJ

pi_netrw.txtは別途報告しましょう。

@tennashi
Copy link

@tennashi tennashi commented Nov 24, 2019

vim/vim@574ee7b#diff-90dd8c04113fca83dfa90e38f053465e
このタイミングでの修正漏れ

diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index d121eeea2..dde03d5aa 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -267,8 +267,8 @@ prop_type_add({name}, {props})              *prop_type_add()* *E969* *E970*
                                properties the one with the highest priority
                                will be used; negative values can be used, the
                                default priority is zero
-                  combine      when TRUE combine the highlight with any
-                               syntax highlight; when omitted or FALSE syntax
+                  combine      when omitted or TRUE combine the highlight with
+                               any syntax highlight; when FALSE syntax
                                highlight will not be used
                   start_incl   when TRUE inserts at the start position will
                                be included in the text property
@tennashi
Copy link

@tennashi tennashi commented Dec 2, 2019

. の抜け

diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 4bf259804..6d91d1b99 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -116,7 +116,7 @@ gn                  Search forward for the last used search pattern, like
                        E.g., "dgn" deletes the text of the next match.
                        If Visual mode is active, extends the selection
                        until the end of the next match.
-                       'wrapscan' applies
+                       'wrapscan' applies.
                        Note: Unlike `n` the search direction does not depend
                        on the previous search command.
@kazukazuinaina
Copy link
Member

@kazukazuinaina kazukazuinaina commented Dec 4, 2019

POSIXの表記ゆれ

vim-jp/vimdoc-ja-working#740

diff --git a/en/vi_diff.txt b/en/vi_diff.txt
index f762e8af..d38fae41 100644
--- a/en/vi_diff.txt
+++ b/en/vi_diff.txt
@@ -1323,7 +1323,7 @@ Set the $VIM_POSIX environment variable to have 'cpoptions' include the POSIX
 flags when Vim starts up.  This makes Vim run as POSIX as it can.  That's
 a bit different from being Vi compatible.

-You can find the Posix specification for Vi here:
+You can find the POSIX specification for Vi here:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html
 And the related Ex specification:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html
@k-takata
Copy link
Member

@k-takata k-takata commented Dec 9, 2019

Dr. Chipのプラグインのドキュメントの修正を送りました。
https://groups.google.com/d/msg/vim_dev/5J35gGSBcY4/AaCqL1npCAAJ
が、以下の指摘を入れるのを忘れていました。また今度で。
#1172 (comment), #1172 (comment)

Vim 8.2のリリースが近いので、見つかっている間違いは早く送った方がいいかもしれません。

@tsuyoshicho

This comment has been hidden.

@tsuyoshicho

This comment has been hidden.

@h-east
Copy link
Member Author

@h-east h-east commented Dec 15, 2019

Vim 8.2の報告スレ立てました。
以後は #1321 へお願いします。

@h-east
Copy link
Member Author

@h-east h-east commented Dec 15, 2019

@tsuyoshicho 行末の余分な空白を削除していると思うのですが、diffの変更前(行頭-で始まる行)がすでに行末の空白が消えてしまっています。diffの更新をお願いします。

@tsuyoshicho
Copy link
Contributor

@tsuyoshicho tsuyoshicho commented Dec 15, 2019

了解しました


#1321
に再送

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet