mirror of
https://github.com/laosb/SvelteNova.git
synced 2025-11-29 04:31:37 +00:00
Basic (not working) tree-sitter syntax highlighting.
This commit is contained in:
parent
1bf00890cd
commit
7c813791aa
9 changed files with 246 additions and 38 deletions
16
build_scripts/README.md
Normal file
16
build_scripts/README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# `build_scripts`
|
||||
|
||||
Both `compile_parser.sh` and `Makefile` are provided by Panic
|
||||
[on their doc site](https://docs.nova.app/syntax-reference/tree-sitter/#compiling-a-parser),
|
||||
and may be retrieved from
|
||||
[here](https://docs.nova.app/syntax-reference/build_script.zip).
|
||||
|
||||
Run `build_parser.sh` (from project root) to build the
|
||||
`tree-sitter-svelte.dylib`:
|
||||
|
||||
```sh
|
||||
./build_scripts/build_parser.sh /Applications/Nova.app
|
||||
```
|
||||
|
||||
You may need to adjust the path to `Nova.app`. It will also copy the build
|
||||
output to correct place and cleanup temp files.
|
||||
Loading…
Add table
Add a link
Reference in a new issue