cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Incorrect inference for `"bring air before round"`

Open pokey opened this issue 3 years ago • 0 comments

When saying "bring air before round", the inferred target is:

[
  {
    "type": "primitive",
    "mark": {
      "type": "decoratedSymbol",
      "symbolColor": "default",
      "character": "a"
    },
    "modifiers": []
  },
  {
    "type": "primitive",
    "mark": {
      "type": "decoratedSymbol",
      "symbolColor": "default",
      "character": "a"
    },
    "modifiers": [
      {
        "type": "containingScope",
        "scopeType": { "type": "surroundingPair", "delimiter": "parentheses" }
      }
    ],
    "positionModifier": { "type": "position", "position": "before" }
  }
]

This is equivalent to "bring pit before round pit", which is not desirable. This is due to the effort to support eg "bring air to end of line"

pokey avatar Jul 07 '22 12:07 pokey