1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

core: do not auto add space after nick completer if option weechat.completion.nick_add_space is off

This commit is contained in:
Sebastien Helleu
2012-02-01 17:19:04 +01:00
parent 2dd44ee3d7
commit e6736b544e
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,12 +1,14 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.7-dev, 2012-01-28
v0.3.7-dev, 2012-02-01
Version 0.3.7 (under dev!)
--------------------------
* core: do not auto add space after nick completer if option
weechat.completion.nick_add_space is off
* core: fix signal "buffer_switch": send it only once when switching buffer
(bug #31158)
* core: move option "scroll_unread" from command /input to /window
+1 -1
View File
@@ -958,7 +958,7 @@ gui_completion_complete (struct t_gui_completion *completion)
free (completion->word_found);
completion->word_found = strdup (ptr_item->data);
completion->word_found_is_nick = item_is_nick;
if (item_is_nick && (completion->base_word_pos > 0)
if (item_is_nick
&& !CONFIG_BOOLEAN(config_completion_nick_add_space))
{
completion->add_space = 0;