Loading ...
Sorry, an error occurred while loading the content.

Re: [ANS] How to insert/capture :ver information

Expand Messages
  • ewitness - Ben Fowler
    ... Yes. Adding the command I suggest does add a newline to the end of the generated file without harming anything else. If you check the code for msg_start( )
    Message 1 of 2 , Aug 24 7:34 AM
    • 0 Attachment
      >[ ...]
      >Note 2: On loading the bugreport, vim states that there is no trailling
      >EOL; assuming that the commands :map, :ab, :highlight, :let which
      >generate the last stanzas each produce text that starts with a newline
      >but ends without, then it might be possible to improve this script with
      >an :echo "" near the end.
      >
      >I'll try it.

      Yes.

      Adding the command I suggest does add a newline to the end of the generated
      file without harming anything else.

      If you check the code for msg_start( ) and msg_puts_attr( ) you can
      see that the behaviour I suggested is the one that vim uses.

      Ben.
      --
      Privileged/Confidential Information may be contained in this message.
      If you are not the addressee indicated in this message (or responsible
      for delivery of the message to such person), you may not copy or deliver
      this message to anyone. In such case, you should destroy this message
      and kindly notify the sender by reply email. Please advise immediately
      if you or your employer do not consent to Internet email messages of this
      kind. Opinions, conclusions and other information in this message that
      do not relate to the official business of ewitness Limited shall be
      understood as neither given nor endorsed by it.

      eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY
      Telephone: 0113 2951112 Fax: 0113 2951114
    Your message has been successfully submitted and would be delivered to recipients shortly.