jalcine / cmake.vim

:hammer: CMake functionality within Vim.
https://jalcine.github.io/cmake.vim
MIT License
74 stars 11 forks source link

E713 Cannot use empty key for Dictionary #61

Closed lilijreey closed 9 years ago

lilijreey commented 9 years ago

Error detected while processing function cmake#augroup#on_vim_enter..cmake#targe ts#cache: line 13: E713: Cannot use empty key for Dictionary The function call cmake#targets#cache() throw this error. I have been commented this call

jalcine commented 9 years ago

What was the file path of the buffer that this occured under?

jalcine commented 9 years ago

I see a potential problem in (cmake#targets#cache())[https://github.com/jalcine/cmake.vim/blob/develop/autoload/cmake/targets.vim#L204-L210] and I've patched it in #63. Do you mind getting the project at that tree and trying the code out? It'd help even more if you mentioned what you were doing when you got to this error.

jalcine commented 9 years ago

@lilijreey: If you checkout the develop branch and try it out; it should work OK for you now. I'm still working on improving the test suite so I can check bugs like this in the future.

jalcine commented 9 years ago

Going to close this issue since the visible problem was fixed in #64.

lilijreey commented 9 years ago

thanks