# a
Traceback (most recent call last):
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 474, in write
for line in str(e).split('\n'):
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 372, in __str__
return self.tostr(Jumpcount())
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 378, in tostr
return '\n'.join([t.tostr(jm) for t in self.children])
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 378, in <listcomp>
return '\n'.join([t.tostr(jm) for t in self.children])
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 284, in tostr
attrs = (' ' if self.attributes else '') + ' '.join(map(lambda a: a.tostr(jm, mul=_mul), self.attributes))
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 284, in <lambda>
attrs = (' ' if self.attributes else '') + ' '.join(map(lambda a: a.tostr(jm, mul=_mul), self.attributes))
File "/home/mher/.vim/plugged/emmet.snippets/pythonx/emmet.py", line 151, in tostr
nv += c
TypeError: can only concatenate str (not "int") to str
Default attributes somehow upon expansion become prefixed with
b
and single-quoted, e.g. img becomes<img b'src'="" b'alt'=""></img>
.We can see same thing in the test output:
BTW snippets get expanded as I type, without or my ultisnips trigger (**).
When I try to modify default attributes by putting following in vimrc
I get runtime error when expanding
a
Some of my active plugins are coc with coc-html, vim-sandwich. I am linking here my vimrc https://github.com/iFork/dotfiles/blob/2ae6ae3b4a27b048b99e05c4d55dd313928de277/vim/.vim/vimrc
What else can I do to facilitate debugging?
Thank you!