-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the old multi-line string config option
- Loading branch information
Showing
11 changed files
with
91 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rces/indent-test-cases/strings/config.edn → ...ases/multi-line_strings_pretty/config.edn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{:extra-cmds ["let g:clojure_align_multiline_strings = 0" | ||
{:extra-cmds ["let g:clojure_indent_multiline_strings = 'pretty'" | ||
"normal! G" | ||
"normal! o\u000atest \"hello\u000aworld\"" | ||
"normal! o\u000aregex #\"asdf\u000abar\""]} |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ndent-test-cases/strings_align/config.edn → ...es/multi-line_strings_standard/config.edn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{:extra-cmds ["let g:clojure_align_multiline_strings = 1" | ||
{:extra-cmds ["let g:clojure_indent_multiline_strings = 'standard'" | ||
"normal! G" | ||
"normal! o\u000atest \"hello\u000aworld\"" | ||
"normal! o\u000aregex #\"asdf\u000abar\""]} |
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
clj/resources/indent-test-cases/multi-line_strings_traditional/config.edn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{:extra-cmds ["let g:clojure_indent_multiline_strings = 'traditional'" | ||
"normal! G" | ||
"normal! o\u000atest \"hello\u000aworld\"" | ||
"normal! o\u000aregex #\"asdf\u000abar\""]} |
27 changes: 27 additions & 0 deletions
27
clj/resources/indent-test-cases/multi-line_strings_traditional/in.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
"foo | ||
bar" | ||
|
||
asdf dfa sdfasdf " | ||
asdf" | ||
|
||
(asdf [foo] | ||
"hel | ||
lo asd | ||
fasdfa | ||
sdf | ||
asdf | ||
as | ||
as | ||
asdf | ||
df | ||
df | ||
world") | ||
|
||
#{:foo :bar | ||
:biz | ||
"ba | ||
z"} | ||
|
||
#"foo | ||
bar | ||
biz" |
33 changes: 33 additions & 0 deletions
33
clj/resources/indent-test-cases/multi-line_strings_traditional/out.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
"foo | ||
bar" | ||
|
||
asdf dfa sdfasdf " | ||
asdf" | ||
|
||
(asdf [foo] | ||
"hel | ||
lo asd | ||
fasdfa | ||
sdf | ||
asdf | ||
as | ||
as | ||
asdf | ||
df | ||
df | ||
world") | ||
|
||
#{:foo :bar | ||
:biz | ||
"ba | ||
z"} | ||
|
||
#"foo | ||
bar | ||
biz" | ||
|
||
test "hello | ||
world" | ||
|
||
regex #"asdf | ||
bar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters