Skip to content

Commit

Permalink
Update from tree-sitter-python
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed May 5, 2024
1 parent 8efe095 commit 46f89a2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text eol=lf
* text=auto eol=lf

examples/crlf-line-endings.py eol=crlf
examples/mojo2-grammar-crlf.py eol=crlf
Expand Down
24 changes: 13 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# Rust artifacts
/Cargo.lock
/target/
Cargo.lock
target/

# Node artifacts
/build/
/node_modules/
build/
prebuilds/
node_modules/
*.tgz

# Swift artifacts
/.build/
.build/

# Go artifacts
go.sum
_obj/

# Mojo artifacts
/dist/
.venv/
dist/
*.egg-info
*.whl

# Zig artifacts
/zig-cache/
/zig-out/

# C artifacts
*.a
*.so
Expand All @@ -30,7 +33,6 @@
/examples/*/

# Grammar volatiles
dsl.d.ts
*.wasm
*.obj
*.o
5 changes: 0 additions & 5 deletions bindings/python/build/lib/tree_sitter_mojo/__init__.py

This file was deleted.

2 changes: 2 additions & 0 deletions runtime/queries/mojo/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,11 @@
[
"and"
"or"
"not in"
"in"
"not"
"del"
"is not"
"is"
] @keyword.operator

Expand Down

0 comments on commit 46f89a2

Please sign in to comment.