vim-hackernews
vim-hackernews copied to clipboard
Opening comments on vim cause error with Python 3.9
trafficstars
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/Matts966/.vim/plugged/vim-hackernews/ftplugin/hackernews.py", line 272, in link
print_comments(item['comments'])
File "/Users/Matts966/.vim/plugged/vim-hackernews/ftplugin/hackernews.py", line 342, in print_c
omments
p = html.unescape(p)
AttributeError: 'HTMLParser' object has no attribute 'unescape'
This can be fixed by using VIm that uses Python 3.8 for now.