|
|
|
@ -56,7 +56,7 @@ fn prefer_outer_delimiter(language: guess_language::Language) -> bool {
|
|
|
|
match language {
|
|
|
|
match language {
|
|
|
|
// For Lisp family languages, we get the best result with the
|
|
|
|
// For Lisp family languages, we get the best result with the
|
|
|
|
// outer delimiter.
|
|
|
|
// outer delimiter.
|
|
|
|
EmacsLisp | Clojure | CommonLisp | Janet => true,
|
|
|
|
EmacsLisp | Clojure | CommonLisp | Janet | Racket | Newick => true,
|
|
|
|
// JSON and TOML are like Lisp: the outer delimiter in an array object
|
|
|
|
// JSON and TOML are like Lisp: the outer delimiter in an array object
|
|
|
|
// is the most relevant.
|
|
|
|
// is the most relevant.
|
|
|
|
Json | Toml | Hcl => true,
|
|
|
|
Json | Toml | Hcl => true,
|
|
|
|
|