When editing html in vim, I'll write the class name of the section that I am working on like this:mid-medIt is untagged plain text.I'll call tcomment to comment that out. What I expect to have happen is this:<!-- mid-med -->Instead I get this:<!-- mid&#45;med -->tcomment is converting the plain-text hyphen into html character code.Is there anyway to prevent tcomment from doing this?I searched help:tcomment but I couldn't find or make sense of anything.I could just create the comment code first then type in the text but that's counter-intuitive and messing up my workflow.Any help would be appreciated.
vim tcomment plugin changes the hyphens in untagged text (html) to html code (& #45;)
comments
Add this to a file ~/.vim/ftplugin/html.vim:let g:tcomment#replacements_xml = {}