mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 05:05:00 +00:00
feat: match named arg parent in literals (#1418)
This commit is contained in:
parent
ebfc93c104
commit
96cdab38f6
3 changed files with 71 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
/// contains: "New Computer Modern"
|
||||
|
||||
#set text(font: (name: "" /* range -2..0 */))
|
|
@ -0,0 +1,54 @@
|
|||
---
|
||||
source: crates/tinymist-query/src/completion.rs
|
||||
description: "Completion on \" (63..65)"
|
||||
expression: "JsonRepr::new_pure(results)"
|
||||
input_file: crates/tinymist-query/src/fixtures/completion/modify_string_3.typ
|
||||
---
|
||||
[
|
||||
{
|
||||
"isIncomplete": false,
|
||||
"items": [
|
||||
{
|
||||
"kind": 6,
|
||||
"label": "\"New Computer Modern\"",
|
||||
"sortText": "003",
|
||||
"textEdit": {
|
||||
"newText": "New Computer Modern",
|
||||
"range": {
|
||||
"end": {
|
||||
"character": 24,
|
||||
"line": 2
|
||||
},
|
||||
"start": {
|
||||
"character": 24,
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"isIncomplete": false,
|
||||
"items": [
|
||||
{
|
||||
"kind": 6,
|
||||
"label": "\"New Computer Modern\"",
|
||||
"sortText": "003",
|
||||
"textEdit": {
|
||||
"newText": "New Computer Modern\"",
|
||||
"range": {
|
||||
"end": {
|
||||
"character": 25,
|
||||
"line": 2
|
||||
},
|
||||
"start": {
|
||||
"character": 25,
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue