docs: add tsserver annotation to example (#3460)
This commit is contained in:
parent
800f2c41d0
commit
149a2a9081
1 changed files with 3 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ export PATH=$PATH:./node_modules/.bin
|
|||
Once you have the CLI installed, create a file called `grammar.js` with the following contents:
|
||||
|
||||
```js
|
||||
/// <reference types="tree-sitter-cli/dsl" />
|
||||
// @ts-check
|
||||
|
||||
module.exports = grammar({
|
||||
name: 'YOUR_LANGUAGE_NAME',
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue