Skip to content

Commit

Permalink
Improve documentation and rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Nov 8, 2023
1 parent db929fc commit ff1045f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v3
name: Set up NodeJS
with:
node-version: 16
node-version: 20
- name: Install dependencies
run: npm install
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-node@v3
name: Set up NodeJS
with:
node-version: 16
node-version: 20
- name: Update dependencies
run: npm update
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Cargo.lock
build/
target/
*.wasm
*.o
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# tree-sitter-arduino

[![CI][badge]](https://github.com/ObserverOfTime/tree-sitter-arduino/actions/workflows/ci.yml)

An extension of [tree-sitter-cpp][] to support Arduino files.

## References

* [Arduino Reference](https://www.arduino.cc/reference/en/)

## Editors

- [x] Neovim
- [ ] Helix _(helix-editor/helix#5277)_
- [x] Emacs

[tree-sitter-cpp]: https://github.com/tree-sitter/tree-sitter-cpp
[badge]: https://badgen.net/github/checks/ObserverOfTime/tree-sitter-arduino?label=CI&icon=github
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const CPP = require('tree-sitter-cpp/grammar')
const CPP = require('tree-sitter-cpp/grammar');

module.exports = grammar(CPP, {
name: 'arduino',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"main": "bindings/node",
"dependencies": {
"nan": "^2.17.0"
"nan": "^2.18.0"
},
"devDependencies": {
"tree-sitter-c": ">=0.20.6",
Expand Down

0 comments on commit ff1045f

Please sign in to comment.