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

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

Expand Messages
  • monax
    ... 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
    Message 1 of 3 , May 31, 2012
      > * 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
    Your message has been successfully submitted and would be delivered to recipients shortly.