fix: Handling of quoted strings in YAML #380
6 changed files with 10 additions and 1 deletions
2
examples/yaml/working/double_quoted_strings/Base.yml
Normal file
2
examples/yaml/working/double_quoted_strings/Base.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
l:
|
||||
- k: "b"
|
2
examples/yaml/working/double_quoted_strings/Expected.yml
Normal file
2
examples/yaml/working/double_quoted_strings/Expected.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
l:
|
||||
- k: "RIGHT"
|
2
examples/yaml/working/double_quoted_strings/Left.yml
Normal file
2
examples/yaml/working/double_quoted_strings/Left.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
l:
|
||||
- k: "b"
|
1
examples/yaml/working/double_quoted_strings/README
Normal file
1
examples/yaml/working/double_quoted_strings/README
Normal file
|
@ -0,0 +1 @@
|
|||
For https://codeberg.org/mergiraf/mergiraf/issues/379
|
2
examples/yaml/working/double_quoted_strings/Right.yml
Normal file
2
examples/yaml/working/double_quoted_strings/Right.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
l:
|
||||
- k: "RIGHT"
|
|
@ -387,7 +387,7 @@ pub static SUPPORTED_LANGUAGES: LazyLock<Vec<LangProfile>> = LazyLock::new(|| {
|
|||
alternate_names: &[],
|
||||
extensions: vec!["yml", "yaml"],
|
||||
language: tree_sitter_yaml::LANGUAGE.into(),
|
||||
atomic_nodes: vec![],
|
||||
atomic_nodes: vec!["single_quote_scalar", "double_quote_scalar"],
|
||||
commutative_parents: vec![CommutativeParent::without_delimiters("block_mapping", "\n")],
|
||||
signatures: vec![signature("block_mapping_pair", vec![vec![Field("key")]])],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue