(self)
Shut down the server Vim.
Shut down the server Vim.
Shut down the server Vim .
def close(self):
        """Shut down the server Vim."""
        if self.server_connection is not None:
            # Server will shut down Vim gracefully when we disconnect
            self.server_connection.close()
        elif self.server_process is not None:
            # Not connected yet, terminate the process instead
            self.server_process.terminate()
def close ( self ) : if self . server_connection is not None : # Server will shut down Vim gracefully when we disconnect self . server_connection . close ( ) elif self . server_process is not None : # Not connected yet, terminate the process instead self . server_process . terminate ( )