@username
を付けます *'makeencoding'* *'menc'*
'makeencoding' 'menc' 文字列 (既定では "")
グローバル/バッファについてローカル |global-local|
外部コマンドの出力を読むときに使用されるエンコーディング。空の時はエン
コーディングは変換されない。
これは以下のコマンドに使用される: `:make`, `:lmake`, `:grep`, `:lgrep`,
`:grepadd`, `:lgrepadd`, `:cfile`, `:cgetfile`, `:caddfile`, `:lfile`,
`:lgetfile` および `:laddfile`
これは主に MS-Windows で 'encoding' を "utf-8" に設定している場合に有
用である。もし |+iconv| が有効化されており GNU libiconv が使われている
際には、'makeencoding' を "char" に設定することはシステムロケールのエ
ンコーディングに設定するのと同じ効果がある。例:
:set encoding=utf-8
:set makeencoding=char " システムロケールが使用される
75 | " local vimrc load setting
76 | function! g:user.function.load_setting(loc) abort " {{{
77 | let path = expand(escape(a:loc, ' '), 'p')
78 | let files = glob(path . '/*.vim', 1, 1)
79 | for i in reverse(filter(files, 'filereadable(v:val)'))
80 | source `=i`
81 | endfor
82 | endfunction " }}}
44 | " check executable file and cache
45 | function! g:user.function.executable(cmd) abort " {{{
46 | if !has_key(g:user.command, a:cmd)
47 | let g:user.command[a:cmd] = executable(a:cmd)
48 | endif
49 |
50 | return g:user.command[a:cmd]
51 | endfunction " }}}