Made nick completion case-insensitive.
authorplugd <plugd@thelambdalab.xyz>
Tue, 6 Jul 2021 19:08:01 +0000 (21:08 +0200)
committerplugd <plugd@thelambdalab.xyz>
Tue, 6 Jul 2021 19:08:01 +0000 (21:08 +0200)
lurk.el

diff --git a/lurk.el b/lurk.el
index 26eb894..8f384df 100644 (file)
--- a/lurk.el
+++ b/lurk.el
@@ -842,7 +842,8 @@ portion of the source component of the message, as LURK doesn't use this.")
     (let* ((end (max lurk-input-marker (point)))
            (space-idx (save-excursion
                         (re-search-backward " " lurk-input-marker t)))
-           (start (if space-idx (+ 1 space-idx) lurk-input-marker)))
+           (start (if space-idx (+ 1 space-idx) lurk-input-marker))
+           (completion-ignore-case t))
       (unless (string-prefix-p "/" (buffer-substring start end))
         (completion-in-region start end (lurk-get-context-users lurk-current-context))))))