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 · 77 comments

Comments

Projects
None yet
6 participants
@h-east
Member

h-east commented Jun 12, 2018

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

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

関連: #1032

@h-east

This comment has been minimized.

Member

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

This comment has been minimized.

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

This comment has been minimized.

Member

h-east commented Jun 17, 2018

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

@h-east

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

h-east commented Jun 20, 2018

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

@mnishz

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

h-east commented Jun 26, 2018

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

@k-takata

This comment has been minimized.

Member

k-takata commented Jun 26, 2018

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

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

@h-east

This comment has been minimized.

Member

h-east commented Jun 26, 2018

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

@mnishz

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

k-takata commented Jul 3, 2018

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

@h-east

This comment has been minimized.

Member

h-east commented Jul 3, 2018

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

@mnishz

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

h-east commented Aug 3, 2018

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

@h-east

This comment has been minimized.

Member

h-east commented Aug 13, 2018

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

@mnishz

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

h-east commented Sep 26, 2018

resetは紛らわしいのでOffにしました。

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index a02618af4..21e2cab08 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1763,7 +1763,7 @@ A jump table for the options with a short description can be found at |Q_op|.
 
 			*'compatible'* *'cp'* *'nocompatible'* *'nocp'*
 'compatible' 'cp'	boolean	(default on, off when a |vimrc| or |gvimrc|
-					file is found, reset in |defaults.vim|)
+					file is found, off in |defaults.vim|)
 			global
 			{not in Vi}
 	This option has the effect of making Vim either more Vi-compatible, or

(追記: 却下。"set"と "reset"の使用は、defaults.vimに関する他の注釈と一貫しているとのこと)

@k-takata

This comment has been minimized.

Member

k-takata commented Sep 27, 2018

defaults.vim でデフォルトのonをリセットするということで、動詞として reset にしてるのかな?

@nocd5

This comment has been minimized.

Member

nocd5 commented Sep 27, 2018

Vim 8.1.0436
runtime/doc/eval.txt:2463

一覧ではterm_start()の戻り値がJobとなっていますが、
ファンクションの説明にもある通り、戻り値はバッファ番号です。

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index a5c8a13e9..b63490de9 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2460,7 +2460,7 @@ term_setkill({buf}, {how})	none	set signal to stop job in terminal
 term_setrestore({buf}, {command}) none	set command to restore terminal
 term_setsize({buf}, {rows}, {cols})
 				none	set the size of a terminal
-term_start({cmd}, {options})	Job	open a terminal window and run a job
+term_start({cmd}, {options})	Number	open a terminal window and run a job
 term_wait({buf} [, {time}])	Number  wait for screen to be updated
 test_alloc_fail({id}, {countdown}, {repeat})
 				none	make memory allocation fail
term_start({cmd}, {options})				*term_start()*
		Open a terminal window and run {cmd} in it.
				.
				.
				.
		Returns the buffer number of the terminal window.  If {cmd}
		cannot be executed the window does open and shows an error
		message.
		If opening the window fails zero is returned.

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Sep 27, 2018

vim 8.1.0393で 'diffopt' にオプション "iblank", "iwhiteall" および "iwhiteeol" が追加されたけど、ドキュメントの更新まだだなぁ。。(12日経過)

(追記: 最後のruntimeファイル更新が 2018/09/03 なので、次の更新で反映されていなかったら指摘する感じ)
(追記2: 2018-10-02 のruntime更新でちゃんと更新されたので問題なし)

@h-east

This comment has been minimized.

Member

h-east commented Oct 5, 2018

patch 8.1.0444の直前のruntimeファイル更新で報告分すべて反映されました👍
(各コメントの最終行に Fixed. と追記させてもらってます)

@h-east

This comment has been minimized.

Member

h-east commented Oct 5, 2018

helpファイルのmodeline (fo=tcq2:)の件、vim_devに提案しました。

(Fixed. fo=tcq2:が削除されました)

@mnishz

This comment has been minimized.

Member

mnishz commented Oct 10, 2018

patch 8.1.0444の直前のruntimeファイル更新で報告分すべて反映されました+1
(各コメントの最終行に Fixed. と追記させてもらってます)

投げっぱなしすみません。。。ご確認いただきどうもありがとうございます!

@h-east

This comment has been minimized.

Member

h-east commented Oct 10, 2018

noneの前が空白→タブ。

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index fda3bd063..459feaa07 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2475,8 +2475,8 @@ test_null_job()			Job	null value for testing
 test_null_list()		List	null value for testing
 test_null_partial()		Funcref	null value for testing
 test_null_string()		String	null value for testing
-test_option_not_set({name})    none	reset flag indicating option was set
-test_override({expr}, {val})    none	test with Vim internal overrides
+test_option_not_set({name})	none	reset flag indicating option was set
+test_override({expr}, {val})	none	test with Vim internal overrides
 test_scrollbar({which}, {value}, {dragging})
 				none	scroll in the GUI for testing
 test_settime({expr})		none	set current time for testing

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Oct 18, 2018

ここまでの分、報告しました。
https://groups.google.com/d/msg/vim_dev/wWiHQZTs1VA/HXA_2lszBgAJ

@h-east

This comment has been minimized.

Member

h-east commented Oct 20, 2018

patch 8.1.0484の直前のruntimeファイル更新で報告分反映されました。
(各コメントの最終行に Fixed. 等と追記してます)

@h-east

This comment has been minimized.

Member

h-east commented Oct 25, 2018

  • 'bdir' のトコの説明なので s/swap/backup/
  • 空白→タブ
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 0db2d465f..529738dc8 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1057,9 +1057,9 @@ A jump table for the options with a short description can be found at |Q_op|.
 	- To include a comma in a directory name precede it with a backslash.
 	- A directory name may end in an '/'.
 	- For Unix and Win32, if a directory ends in two path separators "//",
-	  the swap file name will be built from the complete path to the file
-	  with all path separators changed to percent '%' signs. This will
-	  ensure file name uniqueness in the backup directory.
+	  the backup file name will be built from the complete path to the
+	  file with all path separators changed to percent '%' signs. This
+	  will ensure file name uniqueness in the backup directory.
 	  On Win32, it is also possible to end with "\\".  However, When a
 	  separating comma is following, you must use "//", since "\\" will
 	  include the comma in the file name. Therefore it is recommended to
@@ -2686,8 +2686,8 @@ A jump table for the options with a short description can be found at |Q_op|.
 				option to see when this happens.
 
 		indent-heuristic
-                                 Use the indent heuristic for the internal
-                                 diff library.
+				Use the indent heuristic for the internal
+				diff library.
 
                 algorithm:{text} Use the specified diff algorithm with the
 				internal diff engine. Currently supported 

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Oct 25, 2018

行末の余計な空白。2箇所。

diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index b2105206b..ccca443d2 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1025,7 +1025,7 @@ remembered.  You can return to that position with the "''" and "``" command,
 unless the line containing that position was changed or deleted.  The
 following commands are "jump" commands: "'", "`", "G", "/", "?", "n", "N",
 "%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and the
-commands that start editing a new file. 
+commands that start editing a new file.
 
 							*CTRL-O*
 CTRL-O			Go to [count] Older cursor position in jump list
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 0db2d465f..ac4982d4d 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2690,7 +2690,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                                  diff library.
 
                 algorithm:{text} Use the specified diff algorithm with the
-				internal diff engine. Currently supported 
+				internal diff engine. Currently supported
 				algorithms are:
 				myers      the default algorithm
 				minimal    spend extra time to generate the

Fixed.

@mnishz

This comment has been minimized.

Member

mnishz commented Oct 26, 2018

  1. typo, checkig -> checking
  2. space 忘れ
    vim-jp/vimdoc-ja-working#332
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index e7e510f3a..201232867 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -295,7 +295,7 @@ the "*" is under your right hand middle finger (search to the right and down).
 
 								*E956*
 In very rare cases a regular expression is used recursively.  This can happen
-when executing a pattern takes a long time and when checkig for messages on
+when executing a pattern takes a long time and when checking for messages on
 channels a callback is invoked that also uses a pattern or an autocommand is
 triggered.  In most cases this should be fine, but if a pattern is in use when
 it's used again it fails.  Usually this means there is something wrong with
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index b060c4555..6110fbde3 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -515,7 +515,7 @@ a slash.  Thus "-R" means recovery and "-/R" readonly.
 --clean		Similar to "-u DEFAULTS -U NONE -i NONE":
 		- initializations from files and environment variables is
 		  skipped
-		-'runtimepath'and 'packpath' are set to exclude home
+		-'runtimepath' and 'packpath' are set to exclude home
 		  directory entries (does not happen with -u DEFAULTS).
 		- the |defaults.vim| script is loaded, which implies
 		  'nocompatible': use Vim defaults

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Oct 28, 2018

indent.txt

  • searchpair() と searchpairpos() をマークアップ

if_perl.txt

  • L48 URIの後に改行を入れたほうが良い

gui.txt

  • E335 :cmenu の次行に不要な空白文字あり

eval.txt

  • s/argc( [{winid}])/argc([{winid}])/
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 2e58c854e..67b58cece 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2026,7 +2026,7 @@ append({lnum}, {text})		Number	append {text} below line {lnum}
 appendbufline({expr}, {lnum}, {text})
 				Number	append {text} below line {lnum}
 					in buffer {expr}
-argc( [{winid}])		Number	number of files in the argument list
+argc([{winid}])			Number	number of files in the argument list
 argidx()			Number	current index in the argument list
 arglistid([{winnr} [, {tabnr}]]) Number	argument list id
 argv({nr} [, {winid}])		String	{nr} entry of the argument list
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index c621b40cb..565f8a518 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -878,7 +878,7 @@ be used to complete the name of the menu item.
 				    't': |:tlmenu| Terminal mode
 				    'i': |:imenu|  Insert mode
 				    'c': |:cmenu|  Cmdline mode
-				
+
 
 If the console-mode vim has been compiled with WANT_MENU defined, you can
 use :emenu to access useful menu items you may have got used to from GUI
diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt
index a4df06a9b..26ea29e0d 100644
--- a/runtime/doc/if_perl.txt
+++ b/runtime/doc/if_perl.txt
@@ -45,8 +45,8 @@ The Perl patches for Vim were made by:
 	Matt Gerassimof
 
 Perl for MS-Windows (and other platforms) can be found at:
-http://www.perl.org/ The ActiveState one should work, Strawberry Perl is a
-good alternative.
+	http://www.perl.org/
+The ActiveState one should work, Strawberry Perl is a good alternative.
 
 ==============================================================================
 3. Using the Perl interface				*perl-using*
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index a8d59e370..37aa16ff0 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -602,14 +602,14 @@ the use of square and curly brackets, and otherwise by community convention.
 These conventions are not universally followed, so the Clojure indent script
 offers a few configurable options, listed below.
 
-If the current vim does not include searchpairpos(), the indent script falls
+If the current vim does not include |searchpairpos()|, the indent script falls
 back to normal 'lisp' indenting, and the following options are ignored.
 
 							*g:clojure_maxlines*
 
-Set maximum scan distance of searchpairpos(). Larger values trade performance
-for correctness when dealing with very long forms. A value of 0 will scan
-without limits.
+Set maximum scan distance of |searchpairpos()|. Larger values trade
+performance for correctness when dealing with very long forms. A value of 0
+will scan without limits.
 >
 	" Default
 	let g:clojure_maxlines = 100
@@ -941,8 +941,8 @@ Indent after a nested paren: >
 Indent for a continuation line: >
 	let g:pyindent_continue = '&sw * 2'
 
-The method uses searchpair() to look back for unclosed parenthesis.  This can
-sometimes be slow, thus it timeouts after 150 msec.  If you notice the
+The method uses |searchpair()| to look back for unclosed parenthesis.  This
+can sometimes be slow, thus it timeouts after 150 msec.  If you notice the
 indenting isn't correct, you can set a larger timeout in msec: >
 	let g:pyindent_searchpair_timeout = 500
 

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Nov 1, 2018

from vim-jp/vimdoc-ja-working#344

ドキュメント内の &sw を可能ならば shiftwidth() に置換え。
(eval.txt に1箇所残っているが、これは &sw のままでOK)

diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index a8d59e370..d161882d0 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -935,11 +935,11 @@ given are the defaults.  Note that the variables are set to an expression, so
 that you can change the value of 'shiftwidth' later.
 
 Indent after an open paren: >
-	let g:pyindent_open_paren = '&sw * 2'
+	let g:pyindent_open_paren = 'shiftwidth() * 2'
 Indent after a nested paren: >
-	let g:pyindent_nested_paren = '&sw'
+	let g:pyindent_nested_paren = 'shiftwidth()'
 Indent for a continuation line: >
-	let g:pyindent_continue = '&sw * 2'
+	let g:pyindent_continue = 'shiftwidth() * 2'
 
 The method uses searchpair() to look back for unclosed parenthesis.  This can
 sometimes be slow, thus it timeouts after 150 msec.  If you notice the
@@ -1038,7 +1038,7 @@ Furthermore, setting the variable b:verilog_indent_width to change the
 indenting width (default is 'shiftwidth'): >
 
   let b:verilog_indent_width = 4
-  let b:verilog_indent_width = &sw * 2
+  let b:verilog_indent_width = shiftwidth() * 2
 
 In addition, you can turn the verbose mode for debug issue: >
 
@@ -1161,7 +1161,7 @@ VIM							*ft-vim-indent*
 For indenting Vim scripts there is one variable that specifies the amount of
 indent for a continuation line, a line that starts with a backslash: >
 
-	:let g:vim_indent_cont = &sw * 3
+	:let g:vim_indent_cont = shiftwidth() * 3
 
 Three times shiftwidth is the default value.
 

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Nov 13, 2018

組み込み関数名をmarkup.

diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
index 75a5b114a..e6589c70b 100644
--- a/runtime/doc/tagsrch.txt
+++ b/runtime/doc/tagsrch.txt
@@ -179,8 +179,8 @@ commands explained above the tag stack will look like this:
    1  1 main		1  harddisk2:text/vim/test
    2  1 FuncB	       59  harddisk2:text/vim/src/main.c
 
-The gettagstack() function returns the tag stack of a specified window. The
-settagstack() function modifies the tag stack of a window.
+The |gettagstack()| function returns the tag stack of a specified window. The
+|settagstack()| function modifies the tag stack of a window.
 
 							*E73*
 When you try to use the tag stack while it doesn't contain anything you will

Fixed.

@h-east

This comment has been minimized.

Member

h-east commented Nov 15, 2018

@h-east

This comment has been minimized.

Member

h-east commented Nov 17, 2018

patch 8.1.0528の直前のruntimeファイル更新で報告分すべて反映されました。👍
(各コメントの最終行に Fixed. 等と追記してます)

@h-east

This comment has been minimized.

Member

h-east commented Nov 23, 2018

from vim-jp/vimdoc-ja-working#383

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 774e78227..0e6a8b293 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -7339,7 +7339,7 @@ A jump table for the options with a short description can be found at |Q_op|.
 
 	After this option has been set successfully, Vim will source the files
 	"spell/LANG.vim" in 'runtimepath'.  "LANG" is the value of 'spelllang'
-	up to the first character that is not an ASCII letter or number and
+	up to the first character that is not an ASCII alphabet or number and
 	not a dash.  Also see |set-spc-auto|.
 
 
@h-east

This comment has been minimized.

Member

h-east commented Nov 26, 2018

余分な空白。

diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index c7e595586..896950511 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -1059,7 +1059,7 @@ Various:					*various-functions*
 	py3eval()		evaluate Python expression (|+python3|)
 	pyeval()		evaluate Python expression (|+python|)
 	pyxeval()		evaluate |python_x| expression
-	debugbreak()		interrupt a program  being debugged
+	debugbreak()		interrupt a program being debugged
 
 ==============================================================================
 *41.7*	Defining a function
@k-takata

This comment has been minimized.

Member

k-takata commented Dec 3, 2018

vim-jp/vimdoc-ja-working#385 (comment)
xterm 277 以上か、Mac Terminal.app or iTerm2の場合にsgrが有効になるはず。

--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -8454,7 +8454,7 @@ A jump table for the options with a shor
 	number, more intelligent detection process runs.
 	The "xterm2" value will be set if the xterm version is reported to be
 	from 95 to 276.  The "sgr" value will be set if the xterm version is
-	277 or higher and when Vim detects Mac Terminal.app or iTerm2.
+	277 or higher or when Vim detects Mac Terminal.app or iTerm2.
 	If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
 	automatically, set t_RV to an empty string: >
 		:set t_RV=

"or" が続くのは英文として正しいのか微妙な感じがしますが…。


(edit)
原文が更新されたものの and が使われている点は変化がなかったので、翻訳時の解釈にて対応。 vim-jp/vimdoc-ja-working#389 (comment)

@h-east

This comment has been minimized.

Member

h-east commented Dec 10, 2018

from vim-jp/vimdoc-ja-working#390
行末の余分な空白(2か所)

diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index d43afe9df..810df334f 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1279,7 +1279,7 @@ intended!  Calling a function may be an alternative.
 
 
 Completion behavior ~
-				*:command-completion* *E179* *E180* *E181* 
+				*:command-completion* *E179* *E180* *E181*
 				*:command-complete*
 By default, the arguments of user defined commands do not undergo completion.
 However, by specifying one or the other of the following attributes, argument
@@ -1407,7 +1407,7 @@ Possible values are:
 	-addr=loaded_buffers	Range for loaded buffers
 	-addr=windows		Range for windows
 	-addr=tabs		Range for tab pages
-	-addr=other		other kind of range 
+	-addr=other		other kind of range
 
 
 Special cases ~
@h-east

This comment has been minimized.

Member

h-east commented Dec 10, 2018

from vim-jp/vimdoc-ja-working#391
<忘れ。

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 21fc43aaa..53641360a 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1104,7 +1104,7 @@ Or, if you don't want to write them in as floating-point literals, you can
 also use functions, like the following: >
 	:let pi = acos(-1.0)
 	:let e  = exp(1.0)
-
+<
 						*floating-point-precision*
 The precision and range of floating points numbers depends on what "double"
 means in the library Vim was compiled with.  There is no way to change this at
@k-takata

This comment has been minimized.

Member

k-takata commented Dec 11, 2018

<忘れ。

報告が上がりました。 https://groups.google.com/d/topic/vim_dev/uMCE2CuI3L0/discussion

@h-east

This comment has been minimized.

Member

h-east commented Dec 12, 2018

ソースコードの出現順に合わせました&抜けを直しました&Pmenu関連の空白文字調整。

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index b5278f16b..2c5bffa17 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4133,11 +4133,12 @@ A jump table for the options with a short description can be found at |Q_op|.
 				     l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,
 				     N:CursorLineNr,r:Question,s:StatusLine,
 				     S:StatusLineNC,c:VertSplit,t:Title,
-				     v:Visual,w:WarningMsg,W:WildMenu,f:Folded,
-				     F:FoldColumn,A:DiffAdd,C:DiffChange,
-				     D:DiffDelete,T:DiffText,>:SignColumn,
+				     v:Visual,V:VisualNOS,w:WarningMsg,
+				     W:WildMenu,f:Folded,F:FoldColumn,
+				     A:DiffAdd,C:DiffChange,D:DiffDelete,
+				     T:DiffText,>:SignColumn,-:Conceal,
 				     B:SpellBad,P:SpellCap,R:SpellRare,
-				     L:SpellLocal,-:Conceal,+:Pmenu,=:PmenuSel,
+				     L:SpellLocal,+:Pmenu,=:PmenuSel,
 				     x:PmenuSbar,X:PmenuThumb,*:TabLine,
 				     #:TabLineSel,_:TabLineFill,!:CursorColumn,
 				     .:CursorLine,o:ColorColumn,q:QuickFixLine,
@@ -4182,16 +4183,16 @@ A jump table for the options with a short description can be found at |Q_op|.
 	|hl-DiffDelete|	 D  deleted line in diff mode
 	|hl-DiffText|	 T  inserted text in diff mode
 	|hl-SignColumn|	 >  column used for |signs|
+	|hl-Conceal|	 -  the placeholders used for concealed characters
+			    (see 'conceallevel')
 	|hl-SpellBad|	 B  misspelled word |spell|
 	|hl-SpellCap|	 P  word that should start with capital |spell|
 	|hl-SpellRare|	 R  rare word |spell|
 	|hl-SpellLocal|	 L  word from other region |spell|
-	|hl-Conceal|	 -  the placeholders used for concealed characters
-			    (see 'conceallevel')
-	|hl-Pmenu|       +  popup menu normal line
-	|hl-PmenuSel|    =  popup menu normal line
-	|hl-PmenuSbar|   x  popup menu scrollbar
-	|hl-PmenuThumb|  X  popup menu scrollbar thumb
+	|hl-Pmenu|	 +  popup menu normal line
+	|hl-PmenuSel|	 =  popup menu selected line
+	|hl-PmenuSbar|	 x  popup menu scrollbar
+	|hl-PmenuThumb|	 X  popup menu scrollbar thumb
 
 	The display modes are:
 		r	reverse		(termcap entry "mr" and "me")
@h-east

This comment has been minimized.

Member

h-east commented Dec 13, 2018

from vim-jp/vimdoc-ja-working#386 (comment)
! の説明追加。

diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 6e652202b..687f8e7cf 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -336,6 +336,8 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
 
 :scr[iptnames][!] {scriptId}			*:script*
 			Edit script {scriptId}.  Suggested name is ":script".
+			When the current buffer can't be |abandon|ed and the !
+			is not present, the command fails.
 
 						*:fini* *:finish* *E168*
 :fini[sh]		Stop sourcing a script.  Can only be used in a Vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment