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

131435Re: use the same color for else in try/except

Expand Messages
  • monax
    May 31 11:53 PM
    • 0 Attachment
      > * what language are you using?
      > * show a code excerpt illustrating the problem

      Sorry, I forgot show to example.

      I use python:

      #green
      try:
      # red
      if True:
      pass
      # red
      else:
      pass
      #green
      except Exception, e:
      raise e
      # red, but I want to see green
      else:
      pass

      --
      You received this message from the "vim_use" 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
    • Show all 3 messages in this topic