Skip to content

Commit

Permalink
v0.10.5
Browse files Browse the repository at this point in the history
Resolve #17
  • Loading branch information
Colonial-Dev committed Apr 27, 2024
1 parent 74cf665 commit f7f812d
Show file tree
Hide file tree
Showing 27 changed files with 1,200,279 additions and 274,799 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.10.5
- Add Objective C language.
- Updated Rust, Svelte, and Python languages.

### 0.10.4
All thanks to @leandrocp.
- (Bugfix) - Fixed Lua not highlighting correctly.
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inkjet"
version = "0.10.4"
version = "0.10.5"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Colonial-Dev/inkjet/"
Expand Down Expand Up @@ -79,6 +79,7 @@ all_languages = [
"language-meson",
"language-nim",
"language-nix",
"language-objc",
"language-ocaml",
"language-ocaml-interface",
"language-openscad",
Expand Down Expand Up @@ -160,6 +161,7 @@ language-matlab = []
language-meson = []
language-nim = []
language-nix = []
language-objc = []
language-ocaml = []
language-ocaml-interface = []
language-openscad = []
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ Inkjet comes bundled with support for over seventy languages, and it's easy to a
| Meson | `meson` |
| Nim | `nim` |
| Nix | `nix` |
| Objective C | `objective_c`, `objc` |
| OCaml | `ocaml`, `ml` |
| OCaml Interface | `ocaml_interface`, `mli` |
| OpenSCAD | `openscad`, `scad` |
| Pascal | `pascal` |
| PHP | `php` |
| ProtoBuf | `protobuf`, `proto` |
| Python | `python`, `py` |
Expand Down Expand Up @@ -111,7 +113,7 @@ In addition to these languages, Inkjet also offers the [`Runtime`](https://docs.

## Cargo Features
- (Default) `html` - enables the bundled HTML formatter, which depends on `v_htmlescape`.
- (Default) `theme` - enables the theme API, which depends on the `html` feature, `ahash`, `toml` and `serde`.
- (Default) `theme` - enables the theme API, which depends on `ahash`, `toml` and `serde`.
- (Default) `all-languages` - enables all languages.
- `language-{name}` - enables the specified language.
- If you want to only enable a subset of the included languages, you'll have to set `default-features=false` and manually re-add each language you want to use.
Expand Down
14 changes: 11 additions & 3 deletions build/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ name = "nix"
repo = "https://github.com/nix-community/tree-sitter-nix"
hash = "66e3e9c"

[[languages]]
name = "objc"
pretty_name = "ObjectiveC"
repo = "https://github.com/tree-sitter-grammars/tree-sitter-objc"
hash = "62e61b6"
aliases = ["objective_c"]
helix_override = true

[[languages]]
name = "ocaml"
repo = "https://github.com/tree-sitter/tree-sitter-ocaml"
Expand Down Expand Up @@ -403,7 +411,7 @@ helix_override = true
[[languages]]
name = "python"
repo = "https://github.com/tree-sitter/tree-sitter-python"
hash = "b8a4c64"
hash = "a227610"
aliases = ["py"]

[[languages]]
Expand Down Expand Up @@ -432,7 +440,7 @@ aliases = ["rb"]
[[languages]]
name = "rust"
repo = "https://github.com/tree-sitter/tree-sitter-rust"
hash = "48e0533"
hash = "0435214"
aliases = ["rs"]

[[languages]]
Expand Down Expand Up @@ -461,7 +469,7 @@ helix_override = true
[[languages]]
name = "svelte"
repo = "https://github.com/Himujjal/tree-sitter-svelte"
hash = "697bb5"
hash = "ea528fc"

[[languages]]
name = "swift"
Expand Down
Loading

0 comments on commit f7f812d

Please sign in to comment.