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

options.txt 中の既定値部分で表記ゆれがある #117

Open
ryunix opened this issue Feb 6, 2017 · 2 comments
Open

options.txt 中の既定値部分で表記ゆれがある #117

ryunix opened this issue Feb 6, 2017 · 2 comments

Comments

@ryunix
Copy link
Member

ryunix commented Feb 6, 2017

次のような表記ゆれが見られます。

  1. 既定では "" (:help 'pastetoggle'@ja)
  2. 既定では空 (:help 'breakindentopt'@ja)
  3. 既定では: "" (:help 'concealcursor'@ja)
  4. 既定では"" (:help 'tabline'@ja)
  5. 既定は空 (:help 'printencoding'@ja)
  6. 既定では: 空 (:help 'omnifunc'@ja)

調べてみて分かったことがあり、ほとんどが原文に忠実な翻訳になっていました。
また、"" と empty の違いは単項か多項(カンマ区切りなど)になっていると言うことも分かりました。

  1. default "" (:help 'pastetoggle'@en)
  2. default empty (:help 'breakindentopt'@en)
  3. default: "" (:help 'concealcursor'@en)
  4. default empty (:help 'tabline'@en)
  5. default empty (:help 'printencoding'@en)
  6. default: empty (:help 'omnifunc'@en)

このような表記ゆれを防ぎ、必要であれば原文を直すことを検討したいと思いました。

@ryunix
Copy link
Member Author

ryunix commented Feb 6, 2017

また、"" と empty の違いは単項か多項(カンマ区切りなど)になっていると言うことも分かりました。

そうでもないことが判明しました。

例:
既定では "" (:help 'colorcolumn'@ja)
default "" (:help 'colorcolumn'@en)

@uakms
Copy link
Contributor

uakms commented Jun 26, 2018

ブラム氏には何か意図があるのかもしれませんが、
合わせるとするとすべて 'string (default "")' に統一するのが楽そうですね。
(: ->とる、empty -> "")
(8.1.105 時点)

'backspace' 'bs'	string	(default "", set to "indent,eol,start"
'balloonexpr' 'bexpr'	string	(default "")
'belloff' 'bo'		string	(default "")
'breakindentopt' 'briopt' string (default empty)
'bufhidden' 'bh'	string (default: "")
'buftype' 'bt'		string (default: "")
'charconvert' 'ccv'	string (default "")
'cinoptions' 'cino'	string	(default "")
'colorcolumn' 'cc'	string	(default "")
'completefunc' 'cfu'	string	(default: empty)
'concealcursor' 'cocu'	string (default: "")
'cscopequickfix' 'csqf' string	(default "")
'debug'			string	(default "")
'dictionary' 'dict'	string	(default "")
'diffexpr' 'dex'	string	(default "")
'display' 'dy'		string	(default "", set to "truncate" in
'equalprg' 'ep'		string	(default "")
'eventignore' 'ei'	string	(default "")
'fileencoding' 'fenc'	string (default: "")
'filetype' 'ft'		string (default: "")
'foldclose' 'fcl'	string (default "")
'formatexpr' 'fex'	string (default "")
'formatprg' 'fp'	string (default "")
'guifont' 'gfn'		string	(default "")
'guifontset' 'gfs'	string	(default "")
'guifontwide' 'gfw'	string	(default "")
'guitablabel' 'gtl'	string	(default empty)
'guitabtooltip' 'gtt'	string	(default empty)
'iconstring'		string	(default "")
'imactivatefunc' 'imaf'	string (default "")
'imactivatekey' 'imak'	string (default "")
'imstatusfunc' 'imsf'	string (default "")
'includeexpr' 'inex'	string	(default "")
'indentexpr' 'inde'	string	(default "")
'key'			string	(default "")
'keymap' 'kmp'		string	(default "")
'keymodel' 'km'		string	(default "")
'langmap' 'lmap'	string	(default "")
'langmenu' 'lm'		string	(default "")
'makeef' 'mef'		string	(default: "")
'makeencoding' 'menc'	string	(default "")
'mouse'			string	(default "", "a" for GUI, MS-DOS and Win32,
'omnifunc' 'ofu'	string	(default: empty)
'operatorfunc' 'opfunc'	string	(default: empty)
'osfiletype' 'oft'	string (default: "")
'pastetoggle' 'pt'	string	(default "")
'patchexpr' 'pex'	string	(default "")
'patchmode' 'pm'	string	(default "")
'printdevice' 'pdev'	string	(default empty)
'printmbcharset' 'pmbcs'  string (default "")
'printmbfont' 'pmbfn'	string (default "")
'printoptions' 'popt' string (default "")
'pythonhome'		string	(default "")
'pythonthreehome'	string	(default "")
'rulerformat' 'ruf'	string	(default empty)
'selectmode' 'slm'	string	(default "")
'shellquote' 'shq'	string	(default: ""; MS-DOS and Win32, when 'shell'
'shellxescape' 'sxe'	string	(default: "";
'shellxquote' 'sxq'	string	(default: "";
'showbreak' 'sbr'	string	(default "")
'spellfile' 'spf'	string	(default empty)
'statusline' 'stl'	string	(default empty)
'suffixesadd' 'sua'	string	(default "")
'switchbuf' 'swb'	string	(default "")
'syntax' 'syn'		string	(default empty)
'tabline' 'tal'		string	(default empty)
'termencoding' 'tenc'	string	(default ""; with GTK+ GUI: "utf-8"; with
'termwinkey' 'twk'	string	(default "")
'termwinsize' 'tws'	string	(default "")
'thesaurus' 'tsr'	string	(default "")
'titlestring'		string	(default "")
'varsofttabstop' 'vsts'	string	(default "")
'vartabstop' 'vts'	string	(default "")
'verbosefile' 'vfile'	string	(default empty)
'viminfofile' 'vif'	string	(default: "")
'virtualedit' 've'	string	(default "")
'wildignore' 'wig'	string	(default "")
'wildoptions' 'wop'	string	(default "")

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

No branches or pull requests

2 participants