pub fn plugin_started<'a, T>(&'a self, view_id: T, plugin: &str,
                                 cmds: &[Command])
        where T: Into<Option<&'a ViewIdentifier>> {
        let view_id = view_id.into().unwrap_or(&self.view.view_id);
        self.doc_ctx.plugin_started(view_id, plugin);
        self.doc_ctx.update_cmds(view_id, plugin, cmds);
    }
/// Notifies the client that the named plugin has started.
///
/// Note: there is no current conception of a plugin which is only active
/// for a particular view; plugins are active at the editor/buffer level.
/// Some `view_id` is needed, however, to route to the correct client view.
//TODO: revisit this after implementing multiview
Notifies the client that the named plugin has started.
Note: there is no current conception of a plugin which is only active
for a particular view; plugins are active at the editor/buffer level.
Some `view_id` is needed, however, to route to the correct client view.
TODO: revisit this after implementing multiview
Notifies the client that the named plugin has started . Note : there is no current conception of a plugin which is only active for a particular view ; plugins are active at the editor / buffer level . Some ` view_id ` is needed however to route to the correct client view . TODO : revisit this after implementing multiview
pub fn plugin_started<'a, T>(&'a self, view_id: T, plugin: &str,
                                 cmds: &[Command])
        where T: Into<Option<&'a ViewIdentifier>> {
        let view_id = view_id.into().unwrap_or(&self.view.view_id);
        self.doc_ctx.plugin_started(view_id, plugin);
        self.doc_ctx.update_cmds(view_id, plugin, cmds);
    }
pub fn plugin_started < ' a , T > ( & ' a self , view_id : T , plugin : & str , cmds : & [ Command ] ) where T : Into < Option < & ' a ViewIdentifier > > { let view_id = view_id . into ( ) . unwrap_or ( & self . view . view_id ) ; self . doc_ctx . plugin_started ( view_id , plugin ) ; self . doc_ctx . update_cmds ( view_id , plugin , cmds ) ; }
Notifies the client that the named plugin has started.
Notifies the client that the named plugin has started .
&'a self
view_id
T
plugin
&str
cmds
&[Command]