diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 6dae8af..1d18126 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1694,6 +1694,11 @@ class SlackTeam(object): w.buffer_set(self.channel_buffer, "localvar_set_slack_type", self.type) w.buffer_set(self.channel_buffer, "localvar_set_nick", self.nick) w.buffer_set(self.channel_buffer, "localvar_set_server", self.name) + w.buffer_set( + self.channel_buffer, + "localvar_set_completion_default_template", + "${weechat.completion.default_template}|%(usergroups)|%(emoji)", + ) self.buffer_merge() def buffer_merge(self, config_value=None): @@ -2421,6 +2426,11 @@ class SlackChannel(SlackChannelCommon): self.channel_buffer, "localvar_set_channel", self.formatted_name() ) w.buffer_set(self.channel_buffer, "localvar_set_nick", self.team.nick) + w.buffer_set( + self.channel_buffer, + "localvar_set_completion_default_template", + "${weechat.completion.default_template}|%(usergroups)|%(emoji)", + ) self.buffer_rename_in_progress = True w.buffer_set( self.channel_buffer, "short_name", self.formatted_name(style="sidebar") @@ -3212,6 +3222,11 @@ class SlackThreadChannel(SlackChannelCommon): self.channel_buffer, "localvar_set_channel", self.formatted_name() ) w.buffer_set(self.channel_buffer, "localvar_set_server", self.team.name) + w.buffer_set( + self.channel_buffer, + "localvar_set_completion_default_template", + "${weechat.completion.default_template}|%(usergroups)|%(emoji)", + ) self.buffer_rename_in_progress = True w.buffer_set( self.channel_buffer, "short_name", self.formatted_name(style="sidebar") |