Skip to content

Commit

Permalink
Minor fix for namespaced keywords autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
setzer22 committed Apr 10, 2020
1 parent 8fc51b5 commit 04921e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/arcadia/internal/autocompletion.clj
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@

(defmulti potential-completions
(fn [^String prefix ns]
(cond (.Contains prefix "/") :scoped
(cond (.StartsWith prefix ":") :keyword
(.Contains prefix "/") :scoped
(.Contains prefix ".") :class
(.StartsWith prefix ":") :keyword
:else :var)))

(defmethod potential-completions :scoped
Expand Down

0 comments on commit 04921e4

Please sign in to comment.