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

Re: The c.vim file

Expand Messages
  • Bram Moolenaar
    ... I don t see what the problem is. You will have to be more specific. -- LAUNCELOT: I am, sir. I am a Knight of King Arthur. FATHER: Mm ... very nice
    Message 1 of 3 , Sep 10, 2006
      Mark Manning wrote:

      > In the syntax stuff, the c.vim file should be changed to have the following:
      >
      > Old:
      >
      > syn region cString start=+"+ skip=+\\\\\|\\"+ end=+"+
      > contains=cSpecial
      >
      >
      > New
      >
      > syn region cString start=+"+ skip=+\\\\\|\\\"\|'+ end=+"+
      > contains=cSpecial
      > syn region cString start=+'+ skip=+\\\\\|\\\'\|"+ end=+'+
      > contains=cSpecial
      >
      > This would take care of the "......'....." problem and the '"' problem
      > where strings run off the end of the line because of the embedded single
      > quote and double quote.

      I don't see what the problem is. You will have to be more specific.

      --
      LAUNCELOT: I am, sir. I am a Knight of King Arthur.
      FATHER: 'Mm ... very nice castle, Camelot ... very good pig country....
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.