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
$top-level-defined-symbol does not return the function symbol when there is metadata declared on the function.
$top-level-defined-symbol
Sample custom command definition:
{ "name": "print function name", "key": "printFunc", "snippet": "(println '$top-level-defined-symbol)" },
(defn ^{:foo "bar"} baz [] true)
Ouput for custom command when cursor is in baz function body:
baz
(println ') ; Syntax error reading source at (REPL:1293:12). ; Unmatched delimiter: )
(defn baz [] true)
(println 'baz) baz nil
Calva version: v2.0.233
The text was updated successfully, but these errors were encountered:
I'm working on a PR for this.
Sorry, something went wrong.
I think this was fixed by #1466
No branches or pull requests
$top-level-defined-symbol
does not return the function symbol when there is metadata declared on the function.Sample custom command definition:
Failing Scenario (when metadata is present)
Ouput for custom command when cursor is in
baz
function body:Functional Scenario (when no metadata is present)
Ouput for custom command when cursor is in
baz
function body:Calva version: v2.0.233
The text was updated successfully, but these errors were encountered: