Commit Graph

110 Commits (37520f46ae891f77f81f4049cbb7dc2dbe2d5fc3)

Author SHA1 Message Date
Blaž Hrastnik 3cb95be452 Update tree-sitter to 0.20
0.20 includes querying improvements, we no longer have to convert
fragments to strings but can return an iterator of chunks instead.
3 years ago
oberblastmeister 5766f5da8f
OCaml support (#666)
* added some stuff

* add interface

* indent

* highlights and locals

* scope

* change some stuff

* add indents

* fix blanket highlight

* macro

* use inherits
3 years ago
oberblastmeister ae3f936611
Lua support (#665)
* added submodule

* small changes

* updated some stuff

* remove

* shallow clone

* correct indent

* shallow

* ok

* highlights

* proper captures
3 years ago
oberblastmeister 1586b0eec7
YAML support (#667)
* added submodule

* remove wrong one

* added highlights

* use property

* add indents

* shallow
3 years ago
voroskoi f22e0aa2ae
Add zig tree-sitter support (#631)
* Add initial zig tree-sitter support

* zig/highlights.scm: remove unnecessary queries

* Add zig/indents.toml
3 years ago
Yusuf Bera Ertan ac8bc54108 fix: add missing optional keyword to protobuf syntax 3 years ago
Yusuf Bera Ertan 2f42b2338e feat: add indenting for protobuf 3 years ago
Yusuf Bera Ertan 4b45f27a13 feat: add protobuf tree-sitter parser with highlighting queries 3 years ago
Leoi Hung Kin 89089a7355
Added "/utf-8" to Windows compilation options. (#603) 3 years ago
Orhun Parmaksız 9912bd7821
Compile the grammar libraries with full RELRO on Linux (#599)
* Compile the grammar libraries with full RELRO

* Set RELRO compiler options for only Linux
3 years ago
Ivan Tham aaccc9419a
Add ledger tree-sitter (#572)
Might need to update later since the current one highlight does not
work very well yet.
3 years ago
Blaž Hrastnik 1caedc18ca Release v0.4.1 3 years ago
Blaž Hrastnik 733ee06b7b Release v0.4.0 3 years ago
Ivan Tham bda4f5c1cd Simplify replace dashes with underscore 3 years ago
Blaž Hrastnik a4b077e9b9 Build ts/tsx again, refactor collect_tree_sitter_dirs 3 years ago
Blaž Hrastnik e6bf6a8f28 Build each grammar in it's own src dir
Windows places temporary files in the current dir, so compiling in
parallel caused conflicts.
3 years ago
Blaž Hrastnik a7fa5621ce Try to rearrange the file order? 3 years ago
Blaž Hrastnik c8dc9b64dd windows: Try building inside OUT_DIR? 3 years ago
Blaž Hrastnik dd2903ff10 Dynamically load grammar libraries at runtime 3 years ago
Blaž Hrastnik 44566ea812 Release 0.3.0 3 years ago
Benoît CORTIER db5bdf4f2d Run cargo-diet
cargo-diet is a helper for computing the optimal `include` directives
for Cargo.toml manifests.
https://github.com/the-lean-crate/cargo-diet
3 years ago
Ivan Tham a364d6c383 Add latex 3 years ago
Blaž Hrastnik ae5ecfdf66 Release v0.2.0 3 years ago
Timothy DeHerrera 38073fd64c Add Nix syntax 4 years ago
notoria e46346c907 Correct tree-sitter-haskell submodule 4 years ago
notoria 1a3a924634 Implement Debug for data structure as a feature 4 years ago
Blaž Hrastnik 59f94d13b8 Disable haskell grammar until build issues are resolved 4 years ago
Blaž Hrastnik f48a60b8e2 Release 0.0.10 4 years ago
Ethan Bodzioney 843c2cdebd
Install instructions and version number corrections (#148)
* Add MacOS install instructions

* Change version name argument

When using the -V command to get the version you are given 'helix-term x.x.x', I changed this to just helix as it makes more sense.

* Fixed version number

* Fixed version number

* Fixed version number

* Fixed version number

* Fixed version number

* Fixed version number
4 years ago
Jan Hrastnik 212f6bc372 changed flag in build_cpp '/std:c++14' to '/std:c++17' due to tree_sitter_haskell not compiling on msvc without it 4 years ago
Blaž Hrastnik f6a900fee1 syntax: Use a different C++ flag for MSVC 4 years ago
Blaž Hrastnik 5a344a3ae5 Address clippy lint 4 years ago
Blaž Hrastnik 72eaaaac99 syntax: Build C++ grammars as c++14
The haskell grammar requires at last c++14 to build.

Fixes #117
4 years ago
Blaž Hrastnik 8f78c0c612 syntax: Disable explicit debug/opt_level passing
cc-rs will already do the right thing and figure out the flags.

Fixes #34
4 years ago
Corey Powell 01dd7b570a Restored haskell syntax
It seems to work
4 years ago
Corey Powell 0bb375bafa Added missing tree-sitter-elixir submodule 4 years ago
Corey Powell ca042a4bde Added elixir syntax
Using custom fork for now to get around generating the source files
4 years ago
Blaž Hrastnik dbc392d92c Run fmt 4 years ago
nathom b1ce969d80
Add .DS_Store to ignored directories 4 years ago
Blaž Hrastnik 5cbb4efa6d Add the LICENSE file. 4 years ago
Blaž Hrastnik 3cf9a4ceb8 syntax: Don't deadlock the build if one of the jobs fails. 4 years ago
Blaž Hrastnik 71c06c11cb Import tree sitter queries. 4 years ago
Blaž Hrastnik 9ca2909c80 Loop around the end on regex searches. 4 years ago
Blaž Hrastnik 3bab640491 Add c++, js, css, html language definitions. 4 years ago
Blaž Hrastnik e3c4edae32 Add the machinery to load syntax config from TOML.
It's embedded into the binary at build time for now, but it's progress.
4 years ago
Blaž Hrastnik 06aca7691c clippy lint 4 years ago
Blaž Hrastnik 6238be230f Update tree-sitter grammars. 4 years ago
Blaž Hrastnik a16c6e2585 clippy lints 4 years ago
Blaž Hrastnik 8289bd1cb0 minor, fix clippy lint 4 years ago
Blaž Hrastnik c6456d04b9 syntax: Drop the rayon dependency for threadpool.
We just need a small concurrent threadpool for compilation.
4 years ago
Blaž Hrastnik 15dd7ca6d8 syntax: Stop compiling haskell, seems unmaintained and slowest to compile 4 years ago
Blaž Hrastnik 22fe2ebe72 helix-syntax: Speed up compilation by compiling langs in parallel. 4 years ago
Blaž Hrastnik 8695415fbf wip: Move to new rendering structure. 4 years ago
Jan Hrastnik dc11124df5 added tab to insert mode 4 years ago
Blaž Hrastnik 956ccc7b5c Update grammar repos. 4 years ago
Blaž Hrastnik e39bd211d1 argh -> clap to speed up compilation (no syn/proc_macro) 4 years ago
Blaž Hrastnik 3020077da8 Extend selection commands. 4 years ago
Blaž Hrastnik eb639eb2e4 More robust syntax detection/grammar loading. 4 years ago
Blaž Hrastnik b17a77b8b8 cleanup: Import tree-sitter-highlight so we can cache trees. 4 years ago
Blaž Hrastnik 7eac12a4bb Add helix-syntax as a wrapper around tree-sitter parsers. 4 years ago