Skip to content

Commit

Permalink
docs: fix mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Jun 25, 2024
1 parent e21606e commit 9507703
Showing 1 changed file with 8 additions and 8 deletions.
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.

0 comments on commit 9507703

Please sign in to comment.