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

[patch] syntax: slice.vim

Expand Messages
  • Sebastiano Merlino
    Solved a problem with double quotes in #include directive; if double quotes were used the entire file was interpreted as a unique string. ... +++
    Message 1 of 2 , Mar 8, 2013
    • 0 Attachment
      Solved a problem with double quotes in "#include" directive; if double
      quotes were used the entire file was interpreted as a unique string.

      --- a/runtime/syntax/slice.vim 2012-04-04 11:53:33.689000011 +0000
      +++ b/runtime/syntax/slice.vim 2013-03-08 11:36:54.158999985 +0000
      @@ -20,6 +20,7 @@
      syn keyword sliceBoolean false true

      " Include directives
      +syn region sliceIncluded display contained start=+"+
      skip=+\\\\\|\\"+ end=+"+
      syn match sliceIncluded display contained "<[^>]*>"
      syn match sliceInclude display "^\s*#\s*include\>\s*["<]"
      contains=sliceIncluded

      Regards,
      Sebastiano Merlino

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Bram Moolenaar
      ... Thanks, I ll include it. -- hundred-and-one symptoms of being an internet addict: 31. You code your homework in HTML and give your instructor the URL. ///
      Message 2 of 2 , Mar 8, 2013
      • 0 Attachment
        Sebastiano Merlino wrote:

        > Solved a problem with double quotes in "#include" directive; if double
        > quotes were used the entire file was interpreted as a unique string.

        Thanks, I'll include it.

        --
        hundred-and-one symptoms of being an internet addict:
        31. You code your homework in HTML and give your instructor the URL.

        /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
        /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
        \\\ an exciting new programming language -- http://www.Zimbu.org ///
        \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

        --
        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php

        ---
        You received this message because you are subscribed to the Google Groups "vim_dev" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.