Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions data/fixtures/scopes/properties/comment.line.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Hello world
---

[Content] =
[Removal] =
[Domain] = 0:0-0:13
>-------------<
0| # Hello world

[Insertion delimiter] = "\n"
12 changes: 12 additions & 0 deletions data/fixtures/scopes/properties/key.mapPair.iteration.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

foo=bar

---

[Content] =
[Domain] = 0:0-2:0
>
0|
1| foo=bar
2|
<
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/key.mapPair.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo=bar
---

[Content] =
[Removal] = 0:0-0:3
>---<
0| foo=bar

[Domain] = 0:0-0:7
>-------<
0| foo=bar

[Insertion delimiter] = " "
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/key.mapPair2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo.bar=baz
---

[Content] =
[Removal] = 0:0-0:7
>-------<
0| foo.bar=baz

[Domain] = 0:0-0:11
>-----------<
0| foo.bar=baz

[Insertion delimiter] = " "
12 changes: 12 additions & 0 deletions data/fixtures/scopes/properties/name.iteration.document.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

foo=bar

---

[Content] =
[Domain] = 0:0-2:0
>
0|
1| foo=bar
2|
<
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/name.variable.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo=bar
---

[Content] =
[Removal] = 0:0-0:3
>---<
0| foo=bar

[Domain] = 0:0-0:7
>-------<
0| foo=bar

[Insertion delimiter] = " "
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/name.variable2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo.bar=baz
---

[Content] =
[Removal] = 0:0-0:7
>-------<
0| foo.bar=baz

[Domain] = 0:0-0:11
>-----------<
0| foo.bar=baz

[Insertion delimiter] = " "
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

foo=bar

---

[Content] =
[Domain] = 0:0-2:0
>
0|
1| foo=bar
2|
<
10 changes: 10 additions & 0 deletions data/fixtures/scopes/properties/statement.variable.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
foo=bar
---

[Content] =
[Removal] =
[Domain] = 0:0-0:7
>-------<
0| foo=bar

[Insertion delimiter] = "\n"
10 changes: 10 additions & 0 deletions data/fixtures/scopes/properties/textFragment.comment.line.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Hello world
---

[Content] =
[Removal] =
[Domain] = 0:0-0:13
>-------------<
0| # Hello world

[Insertion delimiter] = " "
12 changes: 12 additions & 0 deletions data/fixtures/scopes/properties/value.iteration.document.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

foo=bar

---

[Content] =
[Domain] = 0:0-2:0
>
0|
1| foo=bar
2|
<
12 changes: 12 additions & 0 deletions data/fixtures/scopes/properties/value.mapPair.iteration.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

foo=bar

---

[Content] =
[Domain] = 0:0-2:0
>
0|
1| foo=bar
2|
<
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/value.mapPair.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo=bar
---

[Content] =
[Removal] = 0:4-0:7
>---<
0| foo=bar

[Domain] = 0:0-0:7
>-------<
0| foo=bar

[Insertion delimiter] = " "
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/value.variable.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo=bar
---

[Content] =
[Removal] = 0:4-0:7
>---<
0| foo=bar

[Domain] = 0:0-0:7
>-------<
0| foo=bar

[Insertion delimiter] = " "
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/value.variable2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo=123
---

[Content] =
[Removal] = 0:4-0:7
>---<
0| foo=123

[Domain] = 0:0-0:7
>-------<
0| foo=123

[Insertion delimiter] = " "
13 changes: 13 additions & 0 deletions data/fixtures/scopes/properties/value.variable3.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
foo=${bar}
---

[Content] =
[Removal] = 0:4-0:10
>------<
0| foo=${bar}

[Domain] = 0:0-0:10
>----------<
0| foo=${bar}

[Insertion delimiter] = " "
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { latexScopeSupport } from "./latex";
import { luaScopeSupport } from "./lua";
import { markdownScopeSupport } from "./markdown";
import { phpScopeSupport } from "./php";
import { propertiesScopeSupport } from "./properties";
import { pythonScopeSupport } from "./python";
import { rScopeSupport } from "./r";
import { rubyScopeSupport } from "./ruby";
Expand Down Expand Up @@ -51,6 +52,7 @@ export const languageScopeSupport: StringRecord<LanguageScopeSupportFacetMap> =
lua: luaScopeSupport,
markdown: markdownScopeSupport,
php: phpScopeSupport,
properties: propertiesScopeSupport,
python: pythonScopeSupport,
r: rScopeSupport,
ruby: rubyScopeSupport,
Expand Down
Loading
Loading