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

syntax/netrw.vimにscriptencoding指定されていない。 #669

Closed
rbtnn opened this issue Nov 24, 2014 · 3 comments
Closed

syntax/netrw.vimにscriptencoding指定されていない。 #669

rbtnn opened this issue Nov 24, 2014 · 3 comments

Comments

@rbtnn
Copy link

rbtnn commented Nov 24, 2014

syntax/netrw.vimにというマルチバイト文字が使用されているのですが、このファイルにscriptencodingの指定がされてません。
そのため、以下のvimrcでかつ、netrwバッファが存在する状態でsyntax onすると以下エラーが出てしまいます。
scriptencoding utf-8をsyntax/netrw.vimの先頭で宣言することでこのエラーは出なくなりました。
(環境はWindowsです。)

vimrc

let &fileencodings = 'utf-8,cp932,euc-jp,default,latin'
syntax on

エラー

Error detected while processing C:\vim\runtime\syntax\netrw.vim:
line 27:
E401: Pattern delimiter not found: "^%([-+|笏・ )+"^I^I^I^I^Icontains=netrwTreeBarSpace^Inextgroup=@netrwTreeGroup
E475: Invalid argument: netrwTreeBar^I^I"^%([-+|笏・ )+"^I^I^I^I^Icontains=netrwTreeBarSpace^Inextgroup=@netrwTreeGroup

エラー該当行

https://github.com/vim-jp/vim/blob/1986c3419e692881aa58cf384094337e40548ec4/runtime/syntax/netrw.vim#L27

以上、よろしくお願い致します。

@ynkdir
Copy link
Member

ynkdir commented Nov 24, 2014

あーすみません。
その件は #636 で報告済みで、メンテナの方に次のアップデートで直すよーという回答をいただいてます。

@rbtnn
Copy link
Author

rbtnn commented Nov 24, 2014

なるほど、了解しました。

@crazymaster
Copy link
Member

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

No branches or pull requests

4 participants