( ycm )
| 95 | |
| 96 | |
| 97 | def StopServer( ycm ): |
| 98 | try: |
| 99 | ycm.OnVimLeave() |
| 100 | WaitUntilProcessIsTerminated( ycm._server_popen ) |
| 101 | CloseStandardStreams( ycm._server_popen ) |
| 102 | except Exception: |
| 103 | pass |
| 104 | |
| 105 | |
| 106 | def YouCompleteMeInstance( custom_options = {} ): |