def current_client(self, quiet, bootstrap_server, create_client):
        """Return the client for current file in the editor."""
        current_file = self._vim.current.buffer.name
        config_path = ProjectConfig.find_from(current_file)
        if config_path:
            return self.client_for(
                config_path,
                quiet=quiet,
                bootstrap_server=bootstrap_server,
                create_client=create_client)
def current_client ( self , quiet , bootstrap_server , create_client ) : current_file = self . _vim . current . buffer . name config_path = ProjectConfig . find_from ( current_file ) if config_path : return self . client_for ( config_path , quiet = quiet , bootstrap_server = bootstrap_server , create_client = create_client )
Return the client for current file in the editor.