forked from cursorless-dev/cursorless
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
- Loading branch information
Showing
4,651 changed files
with
75,700 additions
and
33,784 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
* @pokey @AndreasArvidsson | ||
* @cursorless-dev/code-owners | ||
|
||
*keyboard* @pokey @AndreasArvidsson @josharian | ||
*Keyboard* @pokey @AndreasArvidsson @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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Lua Language Server Lint" | ||
description: "Lints all lua files with lua-language-server" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: cachix/install-nix-action@v27 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-unstable | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
- run: nix profile install --accept-flake-config .#lua-language-server | ||
shell: bash | ||
- run: scripts/lint-lua-ls.sh | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v10 | ||
with: | ||
luaVersion: "luajit-openresty" | ||
- uses: leafo/gh-actions-luarocks@v4 | ||
- shell: bash | ||
run: | | ||
luarocks install busted | ||
luarocks install luafilesystem | ||
- shell: bash | ||
run: | | ||
cd cursorless.nvim | ||
busted --run unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,46 @@ 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 }} | ||
STAGING_DIRECTORY: ${{ github.workspace }}/cursorless.nvim-staging | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- 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 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.CURSORLESS_BOT_TOKEN }} | ||
repository: hands-free-vim/cursorless.nvim | ||
path: ${{ env.STAGING_DIRECTORY }} | ||
- name: Configure GPG Key | ||
working-directory: ${{ env.STAGING_DIRECTORY }} | ||
run: | | ||
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import | ||
env: | ||
GPG_SIGNING_KEY: ${{ secrets.CURSORLESS_BOT_GPG_SIGNING_KEY }} | ||
- name: git config | ||
working-directory: ${{ env.STAGING_DIRECTORY }} | ||
run: | | ||
git config user.name cursorless-bot | ||
git config user.email [email protected] | ||
git config user.signingkey A9387720AFC62221 | ||
git config commit.gpgsign true | ||
- name: Push compiled files to cursorless.nvim plugin repo | ||
run: bash -x scripts/deploy-cursorless-nvim.sh ${{ env.STAGING_DIRECTORY }} | ||
|
||
push-cursorless-talon: | ||
name: Push cursorless-talon subrepo | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,17 @@ on: | |
types: [opened, synchronize, reopened] | ||
merge_group: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pre-commit: | ||
name: Pre-commit | ||
runs-on: ubuntu-latest | ||
env: | ||
CURSORLESS_REPO_ROOT: ${{ github.workspace }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.x | ||
- run: corepack enable | ||
|
@@ -24,6 +27,8 @@ jobs: | |
node-version-file: .nvmrc | ||
cache: pnpm | ||
- run: pnpm --color install | ||
- uses: pre-commit/[email protected] | ||
- uses: pre-commit-ci/[email protected] | ||
- uses: leafo/gh-actions-lua@v9 | ||
- uses: leafo/gh-actions-luarocks@v4 | ||
- uses: pre-commit/[email protected] | ||
- uses: pre-commit-ci/[email protected] | ||
if: always() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
std = luajit | ||
cache = true | ||
codes = true | ||
ignore = { "432" } | ||
|
||
globals = { | ||
"vim", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"runtime.version": "Lua 5.1", | ||
"diagnostics.ignoredFiles": "Disable", | ||
"diagnostics.globals": ["vim", "talon", "it", "describe"], | ||
"workspace.ignoreDir": ["data/playground/lua/", ".luarocks", ".lua"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v20.12.1 | ||
v20.18.0 |
Oops, something went wrong.