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

[patch] Highlight GAS directives with names including numbers, upper cases and/or underscores

Expand Messages
  • Masanori Ogino
    Hello. The patch below enables syntax highlight on GAS directives like .ABORT, .cfi_sections or .p2align. Signed-off-by: Masanori
    Message 1 of 2 , Jan 31, 2014
    • 0 Attachment
      Hello.

      The patch below enables syntax highlight on GAS directives like .ABORT, .cfi_sections or .p2align.

      Signed-off-by: Masanori Ogino<masanori.ogino@...>

      diff -r 4ffb2eaeef2a -r 086aa166a2c1 runtime/syntax/asm.vim
      --- a/runtime/syntax/asm.vim    Fri Jan 31 14:54:04 2014 +0100
      +++ b/runtime/syntax/asm.vim    Sat Feb 01 14:42:03 2014 +0900
      @@ -93,7 +93,7 @@
       syn match asmMacro        "\.macro"
       syn match asmMacro        "\.endm"
       
      -syn match asmDirective        "\.[a-z][a-z]\+"
      +syn match asmDirective        "\.[A-Za-z][0-9A-Za-z_]\+"
       
       
       syn case match


      --
      Masanori Ogino <masanori.ogino@...>
      http://twitter.com/omasanori
      http://gplus.to/omasanori

      --
      --
      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.
    • Masanori Ogino
      Well, I ve forgotten CC ing to the maintainer. I m sorry. Would you review this patch? ... -- Masanori Ogino
      Message 2 of 2 , Feb 1 3:06 PM
      • 0 Attachment
        Well, I've forgotten CC'ing to the maintainer. I'm sorry.

        Would you review this patch?


        2014-02-01 Masanori Ogino <masanori.ogino@...>:
        Hello.

        The patch below enables syntax highlight on GAS directives like .ABORT, .cfi_sections or .p2align.

        Signed-off-by: Masanori Ogino<masanori.ogino@...>

        diff -r 4ffb2eaeef2a -r 086aa166a2c1 runtime/syntax/asm.vim
        --- a/runtime/syntax/asm.vim    Fri Jan 31 14:54:04 2014 +0100
        +++ b/runtime/syntax/asm.vim    Sat Feb 01 14:42:03 2014 +0900
        @@ -93,7 +93,7 @@
         syn match asmMacro        "\.macro"
         syn match asmMacro        "\.endm"
         
        -syn match asmDirective        "\.[a-z][a-z]\+"
        +syn match asmDirective        "\.[A-Za-z][0-9A-Za-z_]\+"
         
         
         syn case match


        --
        Masanori Ogino <masanori.ogino@...>
        http://twitter.com/omasanori
        http://gplus.to/omasanori



        --
        Masanori Ogino <masanori.ogino@...>
        http://twitter.com/omasanori
        http://gplus.to/omasanori

        --
        --
        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.