Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursorless in neovim / terminal #2256

Merged
merged 114 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
c22f4d5
Cursorless neovim support
Jun 13, 2024
f0f74cb
refactor: move command-server out folder to avoid being gitignored
Jun 13, 2024
593a1c8
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jun 13, 2024
297385d
feat: make the shortcut configurable by the user
fidgetingbits Jun 12, 2024
4271e24
feat: enforce minimum version check
fidgetingbits Jun 14, 2024
898b0d6
Merge branch 'main' into nvim-talon
pokey Jun 14, 2024
94d2f16
Use our own init.lua for local development
pokey Jun 14, 2024
e4a859a
some tweaks
pokey Jun 16, 2024
ce24b22
more tweaks
pokey Jun 16, 2024
0af05b2
Working cleaned up version
pokey Jun 16, 2024
c185069
feat: tweak dev initlua for nicer for manual debugging
fidgetingbits Jun 26, 2024
9216990
fix: restore working version on Windows
Jul 15, 2024
c747b51
fix: support Windows for loading workspace init.lua (see #2510)
Jul 15, 2024
4615e2d
refactor: removed unused code
Jul 15, 2024
3007f58
refactor: remove unnecessary "sync" keywords
Jul 15, 2024
64db747
fix: also use workspace init.lua for running tests locally
Jul 15, 2024
52ad88f
Merge branch 'main' into pr/saidelike/2256
pokey Jul 15, 2024
ed255ca
Clean up after merge
pokey Jul 15, 2024
28eed2a
refactor: minor fixes needed after merge
Jul 16, 2024
03b4d49
tmp: test on CI
Jul 16, 2024
2e12d2b
tmp: test on CI
Jul 16, 2024
c5bf3a3
tmp: test on CI
Jul 16, 2024
41d97aa
tmp: test on CI
Jul 16, 2024
5ac4421
tmp: test on CI
Jul 16, 2024
983e489
fix: camelcase in env variable
Jul 16, 2024
7f9abbc
refactor: use key evaluation instead of annoying lint extra lines
Jul 16, 2024
1460bdb
refactor: again
Jul 16, 2024
a6c33c1
refactor: comment
Jul 16, 2024
6ba9035
refactor: update fixture to version 5
Jul 16, 2024
1757633
refactor: use runMode helper in neovim too
Jul 18, 2024
13649d3
fix: update pnpm-lock.yaml
Jul 18, 2024
143b3df
Merge branch 'main' into nvim-talon
saidelike Jul 18, 2024
04c6664
fix: update lock file
Jul 18, 2024
8f44fb9
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Jul 18, 2024
4016e29
fix: merge conflict
Jul 18, 2024
06bfbb7
Merge branch 'nvim-talon' of https://github.com/saidelike/cursorless …
Jul 18, 2024
49cb9f2
Merge branch 'main' into pr/saidelike/2256
pokey Jul 18, 2024
f8cd115
refactor: improve cursorless.lua function readability
fidgetingbits Jul 19, 2024
9622e63
refactor: cleanup names and better expose cursorless lua funcs
fidgetingbits Jul 19, 2024
d124747
feat: Add tasks for debugging neovim on linux
fidgetingbits Jul 19, 2024
0b71e5a
fix: make show logs work on linux/osx again
fidgetingbits Jul 19, 2024
7ddc06f
Merge pull request #2 from fidgetingbits/neovim
saidelike Jul 19, 2024
3b84371
Merge branch 'nvim-talon' into api-cleanup
saidelike Jul 19, 2024
f5a8b2d
Merge branch 'nvim-talon' into enforce-minimum-version
saidelike Jul 19, 2024
ab956e5
Update init.lua
saidelike Jul 19, 2024
7ebbc8f
Merge pull request #5 from fidgetingbits/api-cleanup
saidelike Jul 19, 2024
ebb4e74
Merge pull request #8 from fidgetingbits/neovim-debug
saidelike Jul 19, 2024
0b1a10a
Merge pull request #12 from fidgetingbits/fix-show-logs
saidelike Jul 19, 2024
e33857f
Merge pull request #11 from fidgetingbits/tweak-dev-init
saidelike Jul 19, 2024
60637a4
Merge pull request #6 from fidgetingbits/enforce-minimum-version
saidelike Jul 19, 2024
ad527d9
Merge branch 'nvim-talon' into get-buffer-selection
saidelike Jul 19, 2024
e285fef
Merge pull request #9 from fidgetingbits/get-buffer-selection
saidelike Jul 19, 2024
4949c63
refactor: replace BufOnly plugin with two commands
fidgetingbits Jun 26, 2024
cf31ac3
Merge branch 'nvim-talon' into remove-bufonly
saidelike Jul 19, 2024
c487944
refactor: auto formating
Jul 19, 2024
d44187d
Merge pull request #10 from fidgetingbits/remove-bufonly
saidelike Jul 19, 2024
72c7c9b
initial lua test skeleton
fidgetingbits Jun 17, 2024
dcaab6f
feat: test adding busted workflow
fidgetingbits Jun 19, 2024
682c520
fix: only install busted on Linux
Jul 19, 2024
ede99c1
Merge branch 'main' into pr/saidelike/2256
pokey Jul 19, 2024
c31f738
fix: delete "fake task" to show logs on Windows as debugger does not …
Jul 19, 2024
d113ab8
refactor: Address review feedback
fidgetingbits Jul 21, 2024
e54d40e
fix: change workflows to actually work
fidgetingbits Jul 22, 2024
f7ec2ee
test: attempt to run test-harness on CI from /cursorless.nvim instead…
Jul 22, 2024
4fa3b82
Merge branch 'main' into nvim-talon
saidelike Jul 22, 2024
038f33a
fix: merge conflict
Jul 22, 2024
3526366
fix: lineAt(): position is adjusted if it is outside range
Jul 22, 2024
b7a80c1
fix: Address review feedback
fidgetingbits Jul 22, 2024
fea93b9
docs: restore working CI + add tests architecture
Jul 22, 2024
e2645ac
refactoring/docs: minor for tests
Jul 22, 2024
822966d
Merge remote-tracking branch 'saidelike/nvim-talon' into lua-tests
fidgetingbits Jul 22, 2024
1bff727
fix: Address task.json feedback
fidgetingbits Jul 22, 2024
4689557
docs: Add neovim lua test architecture section
fidgetingbits Jul 23, 2024
d1be1ea
refactor: switch to standalone neovim lua test action
fidgetingbits Jul 23, 2024
13514bc
fix: Remove unneeded luaVersion entry for luarocks
fidgetingbits Jul 23, 2024
3bef660
docs: review busted tests documentation
Jul 23, 2024
76d6cb1
Merge branch 'main' into nvim-talon
saidelike Jul 23, 2024
d08005b
refactor: print each test name as they run
fidgetingbits Jul 24, 2024
56aec57
Clean up tasks to get linter to stop complaining
pokey Jul 24, 2024
d9ce94c
Attempt to run legacy tests
pokey Jul 24, 2024
9363650
testNeovim => test:neovim
pokey Jul 24, 2024
d9022f8
Revert changes to patches
pokey Jul 24, 2024
ee52d25
tweak tests.md
pokey Jul 24, 2024
0a4fb4c
Tweak contributor docs
pokey Jul 24, 2024
27d8c78
Update docs
pokey Jul 24, 2024
0c5cdd3
Fix lockfile
pokey Jul 24, 2024
7eb7ee8
Attempt to cleanup test-harness
pokey Jul 24, 2024
1690e68
Merge branch 'main' into pr/saidelike/2256
pokey Jul 24, 2024
be78d0e
Make @saidelike and @fidgetingbits codeowners for neovim
pokey Jul 24, 2024
2f0f693
refactor: rename task
Jul 25, 2024
5c99334
refactor: better output for lua tests
Jul 25, 2024
027f188
tweak CODEOWNERS
pokey Jul 25, 2024
1be17b8
Merge branch 'nvim-talon' into lua-tests
Jul 25, 2024
4c0ea88
Merge pull request #7 from fidgetingbits/lua-tests
saidelike Jul 25, 2024
2a6f0a2
more tweaks
pokey Jul 25, 2024
f1908a1
More tweaks
pokey Jul 25, 2024
7f3a31c
Add test-harness README
pokey Jul 25, 2024
3f9fb36
Merge branch 'main' into pr/saidelike/2256
pokey Jul 25, 2024
0983ca7
refactor: cleanup comments
Jul 25, 2024
19f32f4
Switch logs task to use shell
pokey Jul 25, 2024
ce29635
fix shellcheck
pokey Jul 25, 2024
d98a878
fix warnings in cursorless_spec.lua
Jul 25, 2024
f92140d
add command-server readme
Jul 25, 2024
c69e215
fix: ignore lua playground files
fidgetingbits Jul 26, 2024
a4a9971
fix: Remove lua warnings from playground
fidgetingbits Jul 26, 2024
529afe3
fix: Add -r to rm commands in populate-dist.sh
fidgetingbits Jul 26, 2024
5a039c4
fix(nix): add pkgs to fix broken devshell
fidgetingbits Jul 26, 2024
5dcbc41
Improve deploy
pokey Jul 26, 2024
e6612ac
Fix mac shortcut
pokey Jul 26, 2024
bb91736
readme
pokey Jul 26, 2024
75bf3a6
REMOVE ME: Break things to see if CI catches it
pokey Jul 26, 2024
6a6c211
Revert "REMOVE ME: Break things to see if CI catches it"
pokey Jul 26, 2024
ed9dbf8
fix deploy
pokey Jul 26, 2024
bd8210c
refactor: lint warnings
Jul 26, 2024
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
11 changes: 8 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
* @pokey @AndreasArvidsson @phillco
* @cursorless-dev/code-owners

*keyboard* @pokey @AndreasArvidsson @phillco @josharian
*Keyboard* @pokey @AndreasArvidsson @phillco @josharian
*keyboard* @cursorless-dev/code-owners @josharian
*Keyboard* @cursorless-dev/code-owners @josharian

*neovim* @cursorless-dev/code-owners @saidelike @fidgetingbits
*Neovim* @cursorless-dev/code-owners @saidelike @fidgetingbits
*nvim* @cursorless-dev/code-owners @saidelike @fidgetingbits
*Nvim* @cursorless-dev/code-owners @saidelike @fidgetingbits
17 changes: 17 additions & 0 deletions .github/actions/test-neovim-lua/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Neovim Lua Tests"
description: "Set up Neovim Lua environment and run Busted tests"
runs:
using: "composite"
steps:
- uses: leafo/gh-actions-lua@v9
with:
luaVersion: "luajit-2.1.0-beta3"
- uses: leafo/gh-actions-luarocks@v4
- shell: bash
run: |
luarocks install busted
luarocks install luafilesystem
- shell: bash
run: |
cd cursorless.nvim
busted --run unit
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,41 @@ jobs:
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}

publish-neovim-extension:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
environment: production
env:
CURSORLESS_REPO_ROOT: ${{ github.workspace }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CURSORLESS_BOT_TOKEN }}
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- run: pnpm --color install
- run: pnpm --color compile
- run: pnpm --color --filter '!cursorless-org' --filter '!cursorless-org-*' build
env:
CURSORLESS_DEPLOY: true
- name: Configure GPG Key
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
env:
GPG_SIGNING_KEY: ${{ secrets.CURSORLESS_BOT_GPG_SIGNING_KEY }}
- name: git config
run: |
git config user.name cursorless-bot
git config user.email [email protected]
git config user.signingkey A9387720AFC62221
pokey marked this conversation as resolved.
Show resolved Hide resolved
git config commit.gpgsign true
- name: Push compiled files to cursorless.nvim plugin repo
run: bash -x scripts/deploy-cursorless-nvim.sh

push-cursorless-talon:
name: Push cursorless-talon subrepo
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
node-version-file: .nvmrc
cache: pnpm
- run: pnpm --color install
- uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4
saidelike marked this conversation as resolved.
Show resolved Hide resolved
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()
29 changes: 22 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,26 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
vscode_version: [stable]
app_version: [stable]
saidelike marked this conversation as resolved.
Show resolved Hide resolved
include:
- os: ubuntu-latest
vscode_version: legacy
app_version: legacy
runs-on: ${{ matrix.os }}
env:
VSCODE_VERSION: ${{ matrix.vscode_version }}
APP_VERSION: ${{ matrix.app_version }}
NEOVIM_VERSION: ${{ matrix.app_version == 'stable' && 'stable' || 'v0.10.0' }}
pokey marked this conversation as resolved.
Show resolved Hide resolved
VSCODE_CRASH_DIR: ${{ github.workspace }}/artifacts/dumps
VSCODE_LOGS_DIR: ${{ github.workspace }}/artifacts/logs
CURSORLESS_REPO_ROOT: ${{ github.workspace }}
TEMP_DIR: ${{ github.workspace }}/temp
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- run: mkdir -p "${{ env.VSCODE_CRASH_DIR }}" "${{ env.VSCODE_LOGS_DIR }}"
- run: mkdir -p "${{ env.VSCODE_CRASH_DIR }}" "${{ env.VSCODE_LOGS_DIR }}" "${{ env.TEMP_DIR }}"
shell: bash
- run: pnpm --color install
- run: pnpm --color compile
Expand All @@ -43,9 +45,22 @@ jobs:
if: runner.os == 'Linux'
- run: pnpm --color test
if: runner.os != 'Linux'
- run: bash -x scripts/install-neovim-dependencies.sh
- uses: rhysd/action-setup-vim@v1
id: vim
with:
version: ${{ env.NEOVIM_VERSION }}
neovim: true
- name: Run neovim tests
run: xvfb-run -a pnpm -F @cursorless/test-harness test:neovim
if: runner.os == 'Linux'
env:
NEOVIM_PATH: ${{ steps.vim.outputs.executable }}
- uses: ./.github/actions/test-neovim-lua/
if: runner.os == 'Linux' && matrix.app_version == 'stable'
- name: Create vscode dist that can be installed locally
run: pnpm -F @cursorless/cursorless-vscode populate-dist --local-install
if: runner.os == 'Linux' && matrix.vscode_version == 'stable'
if: runner.os == 'Linux' && matrix.app_version == 'stable'
- name: Test create vsix
id: createVsix
uses: HaaLeo/publish-vscode-extension@v1
Expand All @@ -54,10 +69,10 @@ jobs:
packagePath: packages/cursorless-vscode/dist
dryRun: true
- run: mv ${{ steps.createVsix.outputs.vsixPath }} cursorless-development.vsix
if: runner.os == 'Linux' && matrix.vscode_version == 'stable'
if: runner.os == 'Linux' && matrix.app_version == 'stable'
- name: Upload vsix
uses: actions/upload-artifact@v4
if: runner.os == 'Linux' && matrix.vscode_version == 'stable'
if: runner.os == 'Linux' && matrix.app_version == 'stable'
with:
name: vsix
path: cursorless-development.vsix
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
*.vsix
/package-lock.json
*.DS_Store
.luacheckcache

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

Expand Down Expand Up @@ -43,5 +44,9 @@ next-env.d.ts
# test subset config
packages/test-harness/testSubsetGrep.properties

# cursorless-neovim
cursorless.nvim/node/cursorless-neovim
cursorless.nvim/node/test-harness

# nix
.direnv/
8 changes: 8 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
std = luajit
cache = true
codes = true
ignore = { "432" }

globals = {
"vim",
}
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,13 @@ repos:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/lunarmodules/luacheck
rev: v1.2.0
hooks:
- id: luacheck
exclude: ^data/playground/lua/.*\.lua$
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v0.20.0
hooks:
- id: stylua
exclude: ^data/playground/lua/.*\.lua$
6 changes: 4 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"jrieken.vscode-tree-sitter-query",
"wenkokke.tree-sitter-talon",
"usernamehw.commands"
"wenkokke.talonfmt-vscode",
"usernamehw.commands",
"sumneko.lua",
saidelike marked this conversation as resolved.
Show resolved Hide resolved
"JohnnyMorganz.stylua"
saidelike marked this conversation as resolved.
Show resolved Hide resolved
]
}
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,24 @@
]
},

// Neovim launch configs
{
"name": "Neovim: Run",
"request": "attach",
"continueOnAttach": true,
pokey marked this conversation as resolved.
Show resolved Hide resolved
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "Neovim: Build extension",
"type": "node"
},
{
"name": "Neovim: Test",
"request": "attach",
"continueOnAttach": true,
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "Neovim: Build extension and tests",
"type": "node"
},

// Talon launch configs
{
"name": "Talon: Test",
Expand Down
12 changes: 11 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,15 @@
"files.eol": "\n",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.workingDirectories": [{ "pattern": "packages/*/" }]
"eslint.workingDirectories": [{ "pattern": "packages/*/" }],
"Lua.runtime.version": "Lua 5.1",
"Lua.diagnostics.globals": ["vim", "talon", "it", "describe"],
"Lua.diagnostics.ignoredFiles": "Disable",
saidelike marked this conversation as resolved.
Show resolved Hide resolved
"Lua.workspace.ignoreDir": ["data/playground/lua/"],
"[lua]": {
"editor.defaultFormatter": "JohnnyMorganz.stylua"
},
"files.associations": {
".busted": "lua"
}
}
146 changes: 146 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,152 @@
"group": "test"
},

// Neovim tasks
{
"label": "Neovim: Build extension",
"dependsOn": [
"Neovim: Launch neovim",
"Neovim: ESBuild",
"Neovim: Populate dist"
],
"group": "build"
},
{
"label": "Neovim: Build extension and tests",
"dependsOn": [
"Neovim: Launch neovim (test)",
"Neovim: ESBuild",
"Neovim: Populate dist",
"TSBuild",
"Build test harness"
],
"group": "build"
},
{
"label": "Neovim: ESBuild",
"type": "npm",
"script": "esbuild",
"path": "packages/cursorless-neovim",
"dependsOn": ["Generate grammar"],
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Neovim: Populate dist",
"type": "npm",
"script": "populate-dist",
"path": "packages/cursorless-neovim",
"presentation": {
"reveal": "silent"
},
"options": {
"env": {
"CURSORLESS_REPO_ROOT": "${workspaceFolder}"
}
},
"group": "build"
},
{
"label": "Neovim: Launch neovim",
"type": "process",
"command": "packages/cursorless-neovim/scripts/linux-terminal.sh",
"args": [
"${workspaceFolder}/packages/cursorless-neovim/scripts/debug-neovim.sh ${workspaceFolder} development"
],
"osx": {
"command": "osascript",
"args": [
"-e",
"tell app \"Terminal\" to do script \"${workspaceFolder}/packages/cursorless-neovim/scripts/debug-neovim.sh ${workspaceFolder} development\" activate"
]
},
"windows": {
"command": "powershell",
"args": [
"(New-Object -ComObject WScript.Shell).Run(\"\"\"${workspaceFolder}/packages/cursorless-neovim/scripts/debug-neovim.bat\"\"\", 1, $false)"
]
},
"group": "build",
"presentation": {
"reveal": "silent"
},
"options": {
"env": {
"CURSORLESS_REPO_ROOT": "${workspaceFolder}",
"NVIM_NODE_HOST_DEBUG": "1",
"NVIM_NODE_LOG_FILE": "${workspaceFolder}/packages/cursorless-neovim/out/nvim_node.log",
"NVIM_NODE_LOG_LEVEL": "info",
"CURSORLESS_MODE": "development"
}
}
},
{
"label": "Neovim: Launch neovim (test)",
"type": "process",
"command": "packages/cursorless-neovim/scripts/linux-terminal.sh",
"args": [
"${workspaceFolder}/packages/cursorless-neovim/scripts/debug-neovim.sh ${workspaceFolder} test"
],
"osx": {
"command": "osascript",
"args": [
"-e",
"tell app \"Terminal\" to do script \"${workspaceFolder}/packages/cursorless-neovim/scripts/debug-neovim.sh ${workspaceFolder} test\" activate"
]
},
"windows": {
"command": "powershell",
"args": [
"(New-Object -ComObject WScript.Shell).Run(\"\"\"${workspaceFolder}/packages/cursorless-neovim/scripts/debug-neovim.bat\"\"\", 1, $false)"
]
},
"group": "build",
"presentation": {
"reveal": "silent"
},
"options": {
"env": {
"CURSORLESS_REPO_ROOT": "${workspaceFolder}",
"NVIM_NODE_HOST_DEBUG": "1",
"NVIM_NODE_LOG_FILE": "${workspaceFolder}/packages/cursorless-neovim/out/nvim_node.log",
"NVIM_NODE_LOG_LEVEL": "info",
"CURSORLESS_MODE": "test"
}
}
},
{
"label": "Neovim: Show logs",
"type": "shell",
"command": "packages/cursorless-neovim/scripts/show-logs.sh",
"problemMatcher": [],
"isBackground": true,
"presentation": {
"echo": false,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
},
"options": {
"env": {
"CURSORLESS_REPO_ROOT": "${workspaceFolder}"
}
}
// NOTE: We don't have a way on Windows atm due to command with argument inside Run() not working
// so we need to show logs outside of vscode (see #2454)
},
{
"label": "Neovim: Launch neovim (lua test)",
"type": "shell",
"command": "busted --run unit",
"options": {
"cwd": "cursorless.nvim"
}
},

// cursorless.org
{
"label": "Serve cursorless.org",
Expand Down
Loading
Loading