We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've written a failing test for you. This issue was raised on CIDER
But vars with semicolons colons in them can be completed when the text doesn't include them. for instance,
(fact "handles vars with semicolons in them" (def foo:bar 1) (def foo:baz 2) (src/candidates "foo" *ns* nil) => (contains #{"foo:bar" "foo:baz"} :gaps-ok) ;; passes (src/candidates "foo:" *ns* nil) => (contains #{"foo:bar" "foo:baz"} :gaps-ok) ;; fails (src/candidates "foo:b" *ns* nil) => (contains #{"foo:bar" "foo:baz"} :gaps-ok)) ;; fails
The text was updated successfully, but these errors were encountered:
oh and i put these in the t_ns_mappings.clj file. I wasn't sure of the etiquette of submitted a pull request with failing tests in it.
Sorry, something went wrong.
First, : is a colon, ; is a semicolon ;)
:
;
Colons in symbols are disabled here: https://github.com/alexander-yakushev/compliment/blob/master/src/compliment/sources/ns_mappings.clj#L10 . It seemed a reasonable exclusion at that time, but now I see that colons are officially legal parts of symbols (http://clojure.org/reference/reader#_symbols).
I will fix this soon. Thanks for the provided test cases!
fa23825
No branches or pull requests
I've written a failing test for you. This issue was raised on CIDER
But vars with
semicolonscolons in them can be completed when the text doesn't include them. for instance,The text was updated successfully, but these errors were encountered: