chore: Fix references to highlight queries from CI workflows
@@ -101,7 +101,7 @@ jobs:
- name: copy nvim-treesitter highlight queries
if: ${{ runner.os == 'Linux' }}
shell: bash
- run: cp ./nvim_treesitter/queries/scala/highlights.scm ./queries/highlights.scm
+ run: cp ./nvim_treesitter/queries/scala/highlights.scm ./queries/scala/highlights.scm
- name: Check if highlight queries are out of sync with nvim-treesitter
if: ${{ runner.os == 'Linux' }}
@@ -109,11 +109,11 @@ jobs:
id: verify-changed-files
with:
files: |
- queries/highlights.scm
+ queries/scala/highlights.scm
- name: Test quries if out of sync with nvim-treesitter
if: steps.verify-changed-files.outputs.files_changed == 'true'
run: |
- echo "::warning file=queries/highlights.scm::Queries in this repo are out of sync with nvim-treesitter"
- git diff queries/highlights.scm
+ echo "::warning file=queries/scala/highlights.scm::Queries in this repo are out of sync with nvim-treesitter"
+ git diff queries/scala/highlights.scm
npm run test
