( options )
| 66 | |
| 67 | @contextlib.contextmanager |
| 68 | def UserOptions( options ): |
| 69 | old_vim_options = test_utils.VIM_OPTIONS.copy() |
| 70 | test_utils.VIM_OPTIONS.update( DEFAULT_CLIENT_OPTIONS ) |
| 71 | test_utils.VIM_OPTIONS.update( options ) |
| 72 | try: |
| 73 | yield |
| 74 | finally: |
| 75 | test_utils.VIM_OPTIONS = old_vim_options |
| 76 | |
| 77 | |
| 78 | def _IsReady(): |
no outgoing calls