Comments (5)
This seems to be a problem with the Python interface rather than our plug-in. Our plug-in creates a data structure containing a string '\xc2' somewhere, which is a perfectly valid operation in VimScript. On the other hand, the UnicodeDecodeError seems very common in Python (which has probably something to do with the "Very High Level Embedding" and the fact that you have to serialize all data to transfer it into the Python state.)
Could you please name some of the plug-ins causing these problems? I would like to get a better overview of the issue.
from vim-plugins.
This is the only one which raise the error.
I try the following commands, and they appear to be collect.
:py3 vim.command('let g:abc="\xc2"')
:py3 print(vim.eval('g:abc'))
So, I think there is some other problem in the plugin. Beside, I grep the code with '\xc2' and 'Â' in the repository, but nothing found. Could you tell me the full path of the structure ?
from vim-plugins.
Sorry, a lot to do recently. Let me come back to this.
Could you please name some of the plug-ins causing these problems? I would like to get a better overview of the issue.
What I meant by this is:
Which plug-ins are using the call python3 vim.eval('extend(g:, {})')
? I would like to learn more about this issue, therefore I would like to study these plug-ins.
I would suspect that transferring the whole global namespace (g:
) of Vim is unnecessary in most situations, but I might be wrong. Only transferring parts of it would avoid this problem, but maybe some plug-ins actually depend on doing this.
from vim-plugins.
This should be addressed by this branch:
https://github.com/WolfgangMehner/vim-plugins/tree/template-dev
I'll merge it into the master at some point.
from vim-plugins.
The fix is now also included in the main branch.
from vim-plugins.
Related Issues (20)
- perl path on windows
- template error message HOT 4
- Add lua support into SpaceVim. HOT 12
- Bash-Support: g:BASH_Ctrl_j = 'off' ignored HOT 3
- C-support: how to integrate c-support into existing vim config HOT 5
- Bash support: broken highlighting on ${var/pat/} HOT 1
- Perl-Support: Extending the Perl/POD templates and menu HOT 2
- C-Support: header and implementation comment interchanged HOT 1
- C-support: How to display output in gVim and not vimrun? (Windows 10) HOT 1
- bash-support: Go to end of file after inserting a new header HOT 6
- c-support: Modified class template ignores filename HOT 2
- c-support: Spacing in template is ignored HOT 2
- Bash-Support: function calls references HOT 5
- Bash-Support: parce call stack on error HOT 8
- Not working here HOT 4
- Bash-support - GVim and templates question HOT 2
- Perl-Support: E488: Trailing characters HOT 7
- C-Support: Change C idiom function return indent HOT 6
- c-support Duplicate Tags HOT 1
- nr cmd vim tips e486 error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-plugins.