spf13-vim
spf13-vim copied to clipboard
Error when open document twice in pymode
In pymode, one can press Shift+k to open the document. It runs well when first opening a document, but errors occur after I tried to read document again.
"__doc__" [New File]
Error detected while processing function <SNR>190_VimCssInit:
line 9:
E121: Undefined variable: b:color_pattern
E116: Invalid arguments for function keys(b:color_pattern))>0
E116: Invalid arguments for function len(keys(b:color_pattern))>0
E15: Invalid expression: len(keys(b:color_pattern))>0
Error detected while processing function <SNR>190_VimCssInit..<SNR>190_AdditionalColors..<SNR>190_MatchColo
rValue:
line 9:
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
When this error occurs, I can hold the space key until finish reading all this message. After that, the document will still work.
After I close the python file and open it again, the error will gone away. But when I re-open the document, the error will occur again.
So how can I solve this? Thanks!
I'm having the same issue.
+1
I had the same issue too! How to fixed it ?
This looks like an issue with https://github.com/gko/vim-coloresque