Skip to content

Commit 18768a1

Browse files
Merge branch 'main' into stableVscodeCi
2 parents 287a3e1 + 09f2776 commit 18768a1

File tree

96 files changed

+1333
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1333
-259
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,15 @@ jobs:
100100
env:
101101
NEOVIM_PATH: ${{ steps.vim.outputs.executable }}
102102

103-
- name: Run neovim lua tests (Linux)
104-
uses: ./.github/actions/test-neovim-lua/
105-
if: runner.os == 'Linux' && matrix.app_version == 'stable'
106-
107-
- name: Run neovim lua lint (Linux)
108-
uses: ./.github/actions/lint-lua-ls/
109-
if: runner.os == 'Linux' && matrix.app_version == 'stable'
103+
# FIXME: Re-enable neovim lua tests
104+
# https://github.com/cursorless-dev/cursorless/issues/2946
105+
# - name: Run neovim lua tests (Linux)
106+
# uses: ./.github/actions/test-neovim-lua/
107+
# if: runner.os == 'Linux' && matrix.app_version == 'stable'
108+
109+
# - name: Run neovim lua lint (Linux)
110+
# uses: ./.github/actions/lint-lua-ls/
111+
# if: runner.os == 'Linux' && matrix.app_version == 'stable'
110112

111113
- name: Create vscode dist that can be installed locally
112114
run: pnpm -F @cursorless/cursorless-vscode populate-dist --local-install

cursorless-talon-dev/src/cursorless_test.talon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ test api extract decorated marks <user.cursorless_target>:
3232
test api alternate highlight nothing:
3333
user.private_cursorless_test_alternate_highlight_nothing()
3434

35-
test api parsed: user.cursorless_custom_command("chuck block")
35+
test api parsed: user.cursorless_x_custom_command("chuck block")
3636
test api parsed <user.cursorless_target>:
37-
user.cursorless_custom_command("chuck block <target>", cursorless_target)
37+
user.cursorless_x_custom_command("chuck block <target>", cursorless_target)
3838
test api parsed <user.cursorless_target> plus <user.cursorless_target>:
39-
user.cursorless_custom_command("bring block <target1> after <target2>", cursorless_target_1, cursorless_target_2)
39+
user.cursorless_x_custom_command("bring block <target1> after <target2>", cursorless_target_1, cursorless_target_2)

cursorless-talon/src/public_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def cursorless_create_destination(
2626

2727
@mod.action_class
2828
class CommandActions:
29-
def cursorless_custom_command(
29+
def cursorless_x_custom_command(
3030
content: str, # pyright: ignore [reportGeneralTypeIssues]
3131
arg1: Optional[Any] = None,
3232
arg2: Optional[Any] = None,

cursorless-talon/src/spoken_forms.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
},
232232
"experimental/experimental_actions.csv": {
233233
"experimental_action": {
234-
"-from": "experimental.setInstanceReference"
234+
"from": "experimental.setInstanceReference"
235235
}
236236
},
237237
"experimental/wrapper_snippets.csv": {},

data/fixtures/recorded/languages/typescript/takeEveryArgRam.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ initialState:
2323
finalState:
2424
documentContents: foo(bar(baz, bongo), bazman)
2525
selections:
26-
- anchor: {line: 0, character: 4}
27-
active: {line: 0, character: 19}
28-
- anchor: {line: 0, character: 21}
29-
active: {line: 0, character: 27}
26+
- anchor: {line: 0, character: 8}
27+
active: {line: 0, character: 11}
28+
- anchor: {line: 0, character: 13}
29+
active: {line: 0, character: 18}

data/fixtures/recorded/positions/bringHarpToAfterFile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ initialState:
2828
finalState:
2929
documentContents: |-
3030
hello world
31+
3132
hello
3233
selections:
3334
- anchor: {line: 0, character: 0}

data/fixtures/recorded/positions/bringWhaleToBeforeFile.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ initialState:
2828
finalState:
2929
documentContents: |-
3030
world
31+
3132
hello world
3233
selections:
33-
- anchor: {line: 1, character: 0}
34-
active: {line: 1, character: 0}
34+
- anchor: {line: 2, character: 0}
35+
active: {line: 2, character: 0}

data/fixtures/recorded/selectionTypes/bringHarpToAfterFile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ initialState:
2828
finalState:
2929
documentContents: |-
3030
hello world
31+
3132
hello
3233
selections:
3334
- anchor: {line: 0, character: 11}

data/fixtures/recorded/selectionTypes/bringWhaleToBeforeFile.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ initialState:
2828
finalState:
2929
documentContents: |-
3030
world
31+
3132
hello world
3233
selections:
33-
- anchor: {line: 1, character: 11}
34-
active: {line: 1, character: 11}
34+
- anchor: {line: 2, character: 11}
35+
active: {line: 2, character: 11}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
new Foo(a, b);
2+
---
3+
4+
[Range] = 0:8-0:12
5+
>----<
6+
0| new Foo(a, b);
7+
8+
[Domain] = 0:0-0:13
9+
>-------------<
10+
0| new Foo(a, b);

0 commit comments

Comments
 (0)