Giter VIP home page Giter VIP logo

Comments (6)

Shougo avatar Shougo commented on June 21, 2024

それはキャッシュのバージョンが古いからです。
~/.neocon (g:NeoComplCache_TermporaryDir)のinclude_completeやtags_completeディレクトリを削除してください。

from neocomplcache.vim.

kakatofu avatar kakatofu commented on June 21, 2024

了解です。
バージョンアップさせたときはキャッシュを削除するようにします。

from neocomplcache.vim.

kakatofu avatar kakatofu commented on June 21, 2024

g:NeoComplCache_TermporaryDir中のbuffer_cache, include_cache, syntax_cache, tags_cacheを削除しても発生してしまいました。今度はpython。

"sre.py"
"sre.py" [変換済] 13L, 397C
Caching syntax "python"... please wait.

function 52_check_buffer_all..52_check_buffer..52_check_include..52_load_from_tags の処理中にエラーが検出されました:
行 63:
E684: リストのインデックスが範囲外です: 2
E116: Invalid arguments for function substitute(l:tag[2], '^[/?]^?\s_|$?[/?];"$', '', 'g'), '\', '', 'g') }
E116: Invalid arguments for function substitute(substitute(l:tag[2], '^[/?]^?\s_|$?[/?];"$', '', 'g'), '\', '', 'g') }
E15: 無効な式です: { 'cmd' : substitute(substitute(l:tag[2], '^[/?]^?\s*|$?[/?];"$', '', 'g'), '\', '', 'g') }
行 74:
E121: 未定義の変数です: l:option
E116: Invalid arguments for function has_key(l:option, 'file') || (has_key(l:option, 'access') && l:option.access != 'public')
E15: 無効な式です: has_key(l:option, 'file') || (has_key(l:option, 'access') && l:option.access != 'public')
行 79:
E684: リストのインデックスが範囲外です: 3
E15: 無効な式です: (l:tag[3] == 'd' || l:option['cmd'] == '')? l:tag[0] : l:option['cmd']
行 80:
E121: 未定義の変数です: l:abbr
E116: Invalid arguments for function len(l:abbr) > g:NeoComplCache_MaxKeywordWidth)? printf(l:abbr_pattern, l:abbr, l:abbr[-8:]) : l:abbr, 'kind' : l:option['kind']}
E15: 無効な式です: { 'word' : l:tag[0], 'rank' : 5, 'prev_rank' : 0, 'prepre_rank' : 0, 'icase' : 1, 'abbr' : (len(l:abbr) > g:NeoComplCache_MaxKeywordWidth)? printf(l:abbr_pattern, l:abbr, l:abbr[-8:]) : l:abbr, 'kind' : l:option['kind']}
行 86:
E121: 未定義の変数です: l:option
E116: Invalid arguments for function has_key(l:option, 'struct')
E15: 無効な式です: has_key(l:option, 'struct')
行 100:
E121: 未定義の変数です: l:keyword
E116: Invalid arguments for function add

from neocomplcache.vim.

kakatofu avatar kakatofu commented on June 21, 2024

私の環境を疑って、vimを素の状態で試したら発生しなくなりました。
kaoriya gvim / windows
環境依存ですね。何が悪いんだろう。

ちなみに、今までの環境でv3.10で試してみたところ、
エラーは発生するのですがinclude_cacheディレクトリにもtags_cacheディレクトリにもログは吐かれませんでした。

from neocomplcache.vim.

Shougo avatar Shougo commented on June 21, 2024

ログを見て、原因が分かりました。次期バージョンで対応させます。
writefile()のバグも修正します。

from neocomplcache.vim.

kakatofu avatar kakatofu commented on June 21, 2024

ありがとうございました。
neocomplcacheのさらなる発展を期待してます。

from neocomplcache.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.