Closed timtro closed 1 year ago
Hello, the conversion functions generally changed the lines operated on. This was not necessary. Now, this plug-in does not achieve much more than :'<,'>!latex2text
, but should work as expected.
Thanks. It works as described. I appreciate your time.
I'm going to open a new issue as a feature request.
Thanks in advance.
Perhaps I'm using it wrong, or perhaps this is a neovim vs. vim issue (but I wouldn't think so).
Steps to reproduce
In my bib file I have, for example:
among many hundreds. In visual mode, (using
vi}
, or by going into visual modev
and moving the cursor) I visually select the theeditor
value and runand the whole bib file is converted, thereby destroying it.
Expected behaviour
The visually selected text, and only that text, is run through the conversion, and replaced by the result.
Question
Am I doing something wrong? If so, then I'm sorry to have wasted your time. If not, I will try to debug and issue a PR. VimScript is not a familiar language to me, but I don't see anything wrong with your code, so I'm confused.