mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-29 09:55:00 +01:00
24 lines
556 B
Markdown
24 lines
556 B
Markdown
<!--
|
|
Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
Exceptions. See /LICENSE for license information.
|
|
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
-->
|
|
|
|
# Tree-sitter grammar for Carbon
|
|
|
|
Tree-sitter is currently used for syntax highlighting in supported editors.
|
|
|
|
## Editor Installation
|
|
|
|
### Helix
|
|
|
|
1. Install
|
|
[tree-sitter](https://tree-sitter.github.io/tree-sitter/creating-parsers#installation)
|
|
and Nodejs.
|
|
2. Install [Helix](https://docs.helix-editor.com/install.html).
|
|
3. Run `./helix.sh`
|
|
|
|
### Emacs
|
|
|
|
TODO
|