Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 9 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- name: Set up Node.js
uses: ./.github/actions/setup-node

# pre-commit passes --allow-git=root when installing Node hooks. npm 11
# rejects the hook repository's git dependency despite that setting.
- name: Use npm 10 for pre-commit Node hooks
run: npm install --global npm@10.9.4

- name: Install lua
uses: leafo/gh-actions-lua@v12

Expand All @@ -39,11 +44,11 @@ jobs:
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1

- name: Auto-fix pre-commit issues
uses: pre-commit-ci/lite-action@v1.1.0
if: always()

- name: Pyright
uses: jakebailey/pyright-action@v3
with:
pylance-version: latest-release

- name: pre-commit-ci-lite
uses: pre-commit-ci/lite-action@v1.2.0
if: always()
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ repos:
- id: ruff-format

- repo: https://github.com/cursorless-dev/talon-tools
rev: v0.11.2
rev: v0.12.1
hooks:
- id: talon-fmt
- id: tree-sitter-fmt
Expand Down
2 changes: 1 addition & 1 deletion resources/queries/html.scm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
[
(quoted_attribute_value)
(attribute_value)
] ? @collectionKey.trailing.startOf
]? @collectionKey.trailing.startOf
) @collectionKey.domain

;;!! <aaa value=2>
Expand Down
8 changes: 4 additions & 4 deletions resources/queries/kotlin.scm
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
[
(line_comment)
(multiline_comment)
] *
]*
.
(parameter_modifiers)? @argumentOrParameter.start
.
Expand All @@ -423,7 +423,7 @@
[
(line_comment)
(multiline_comment)
] *
]*
.
[
","
Expand Down Expand Up @@ -472,7 +472,7 @@
[
(line_comment)
(multiline_comment)
] *
]*
.
(parameter_modifiers)? @argumentOrParameter.start.startOf
.
Expand All @@ -484,7 +484,7 @@
[
(line_comment)
(multiline_comment)
] *
]*
.
[
","
Expand Down
Loading