Describe the bug
Completion displays duplicate aliases when they are defined in multiple namespaces, even if the alias is defined in the visited namespace.
To Reproduce
Steps to reproduce the behavior:
(ns foo (:require [clojure.string :as str]))
(ns bar (:require [clojure.string :as string]))
str| ;; will list str and string
Expected behavior
(ns bar (:require [clojure.string :as string]))
str| ;; must list string only
User details (please complete the following information):
OS: WSL (Debian)
Editor: Emacs
Version: clojure-lsp 2024.08.05-18.16.00 and other versions
Describe the bug Completion displays duplicate aliases when they are defined in multiple namespaces, even if the alias is defined in the visited namespace.
To Reproduce Steps to reproduce the behavior:
Expected behavior
User details (please complete the following information):
clojure-lsp 2024.08.05-18.16.00
and other versionsAdditional context Talked about it in Slack: Link to Thread in #lsp channel