Skip to content

Conversation

mrichards42
Copy link
Contributor

Adjusts is_reader_conditional_special_case to also match splices, i.e. #?@. The test case is taken from https://clojure.org/guides/reader_conditionals

Without this, splicing conditionals are indented as functions, e.g.

 #?@(:clj  [5 6 7 8]
           :cljs [1 2 3 4])))

@axvr axvr merged commit 9e6878e into clojure-vim:master Mar 4, 2021
@axvr
Copy link
Member

axvr commented Mar 4, 2021

Thanks! Tested and merged.

@mrichards42 mrichards42 deleted the reader-conditional-splice branch March 4, 2021 19:02
@axvr axvr added the indentation Affects indentation label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

indentation Affects indentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants