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

undefined variable: bundle_names #142

Closed
syngan opened this issue Jul 26, 2013 · 6 comments
Closed

undefined variable: bundle_names #142

syngan opened this issue Jul 26, 2013 · 6 comments

Comments

@syngan
Copy link
Contributor

syngan commented Jul 26, 2013

lingr にはりましたが、vimlint で見つかった ShougoWare のバグをまとめてはっておきます。

./neobundle.vim/autoload/neobundle.vim:210:51:6882: undefined variable: bundle_names

./vimshell/autoload/vimshell/commands/repeat.vim:36:30:1658: undefined variable: a:fd


./neocomplcache/autoload/neocomplcache/cache.vim:184:43:6591: undefined variable: a:cache_dir
./neocomplcache/autoload/neocomplcache/cache.vim:184:56:6604: undefined variable: a:filename
./neocomplcache/autoload/neocomplcache/cache.vim:185:44:6659: undefined variable: a:cache_dir
./neocomplcache/autoload/neocomplcache/cache.vim:185:57:6672: undefined variable: a:filename
./neocomplcache/autoload/neocomplcache/cache.vim:196:31:7032: undefined variable: a:filename
./neocomplcache/autoload/neocomplcache/cache.vim:196:44:7045: undefined variable: a:pattern
./neocomplcache/autoload/unite/sources/neocomplcache.vim:50:7:2006: unused variable `l:completefunc_save`
@Shougo
Copy link
Owner

Shougo commented Jul 27, 2013

ありがとうございます。neocompleteの結果はありますでしょうか。neocomplcacheにエラーが残っているので気になります。

@Shougo
Copy link
Owner

Shougo commented Jul 27, 2013

修正しました。

@Shougo Shougo closed this as completed Jul 27, 2013
@syngan
Copy link
Contributor Author

syngan commented Jul 27, 2013

./neocomplcache/autoload/unite/sources/neocomplcache.vim:50:7:2006: unused variable `l:completefunc_save`

これに対する修正って削除でいいんですか? finally で使っていない問題かと思っていました.

neocomplete に対する vim-vimlint の結果でバグ・不要なコードらしき部分です。

./autoload/neocomplete/async_cache.vim:66:7:2494: unused variable `l:max_lines`
./autoload/neocomplete/cache.vim:184:41:6068: undefined variable: a:cache_dir
./autoload/neocomplete/cache.vim:184:54:6081: undefined variable: a:filename
./autoload/neocomplete/cache.vim:185:42:6134: undefined variable: a:cache_dir
./autoload/neocomplete/cache.vim:185:55:6147: undefined variable: a:filename
./autoload/neocomplete/cache.vim:196:31:6499: undefined variable: a:filename
./autoload/neocomplete/cache.vim:196:44:6512: undefined variable: a:pattern
./autoload/neocomplete/sources/file.vim:111:7:3632: unused variable `l:exts`
./autoload/neocomplete/sources/member.vim:156:8:5410: unused variable `l:line_num`
./autoload/neocomplete/sources/member.vim:156:18:5420: unused variable `l:max_lines`
./autoload/neocomplete/sources/member.vim:228:7:7433: unused variable `l:end_line`
./autoload/neocomplete/sources/omni.vim:279:7:8263: unused variable `l:len_words`
./autoload/neocomplete/sources/vim/helper.vim:940:7:30350: unused variable `l:var_pattern`
./autoload/neocomplete/sources/vim/helper.vim:946:9:30601: unused variable `l:expression`
./autoload/unite/sources/neocomplete.vim:50:7:1986: unused variable `l:completefunc_save`
./autoload/neocomplete/sources/syntax.vim:90:9:2732: unused variable `l:syntax_files`
.

@syngan
Copy link
Contributor Author

syngan commented Jul 27, 2013

すべての実行結果もはっておきます。
https://gist.github.com/syngan/6094947

@Shougo
Copy link
Owner

Shougo commented Jul 29, 2013

これに対する修正って削除でいいんですか? finally で使っていない問題かと思っていました.

使っていないテストコードなので……。

@Shougo
Copy link
Owner

Shougo commented Jul 29, 2013

修正しました。

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