Skip to content

Commit

Permalink
Stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Dec 9, 2011
1 parent 891ca23 commit 8f79456
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
10 changes: 5 additions & 5 deletions dotcss/unisubs.sifterapp.com.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#switcher {
display: none !important;
}
.meta a {
.issue .meta a {
color: #666 !important;
}
.meta {
.issue .meta {
display: none !important;
}
ul.people {
.issue ul.people {
margin-top: 13px !important;
}
ul.people li:nth-child(2) {
.issue ul.people li:nth-child(2) {
display: none;
}
.new-priority {
.issue .new-priority {
padding-left: 6px !important;
}
.issue h2 {
Expand Down
1 change: 1 addition & 0 deletions weechat/perl/autoload/colorize_lines.pl
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ sub colorize_cb {
}
}
# buffer_autoset is off.
# TODO: Fix "all:" and "all," highlighting
if (lc($string) =~ m/(\w.*$my_nick.*)/){ # my name called in string (case insensitiv)?
my $color_highlight = weechat::config_color(weechat::config_get("weechat.color.chat_highlight"));
my $color_highlight_bg = weechat::config_color(weechat::config_get("weechat.color.chat_highlight_bg"));
Expand Down
7 changes: 7 additions & 0 deletions weechat/python/autoload/colon_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ def completer(data, buffer, command):
weechat.command(buffer, "/input delete_previous_char")
weechat.command(buffer, "/input insert " + nicks[-1] + ":\\x20")
elif len(nicks) > 1:
l = min(len(nick) for nick in nicks)
for i in range(len(prefix), l):
if len(set(nick[i] for nick in nicks)) > 1:
break
else:
weechat.command(buffer, "/input insert " + nicks[0][i])

for nick in nicks:
weechat.prnt(cb, "==> " + nick)
return weechat.WEECHAT_RC_OK_EAT
Expand Down
2 changes: 1 addition & 1 deletion weechat/weechat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ confirm_quit = off
day_change = on
day_change_time_format = "%a, %d %b %Y"
highlight = "sjl"
highlight_regex = "sjl"
highlight_regex = "(sjl|^all,|^all:)"
highlight_tags = ""
hline_char = "-"
hotlist_add_buffer_if_away = on
Expand Down

0 comments on commit 8f79456

Please sign in to comment.