Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix mistakes #60

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ commands are available in Neovim to aid you:
"TSPlayground").
- `:EditQuery` to open the Live Query Editor (Nvim 0.10+).

For example, open up a Go test file and then open up a new window side-by side
in which you execute `:InspectTree`. Here you can now see what the tree-sitter
query syntax representation looks like for the Go test file.

Also open up the editor with `:EditQuery`, so that you can have all three
windows opened side-by-side. In the editor, you can now start creating your
syntax query and play around. You can paste in queries from `ast.lua` in the
editor, to see how the query behaves and highlights parts of your Go test file.
For example, open up a Go test file and then execute `:InspectTree`. A new
window will appear which shows what the tree-sitter query syntax representation
looks like for the Go test file.

Again, from the Go test file, execute `:EditQuery` to open up the query editor
in a separate window. In the editor, you can now start creating your syntax
query and play around. You can paste in queries from `ast.lua` in the editor, to
see how the query behaves and highlights parts of your Go test file.
Loading