35 Commits (dd250b05d41e16f4e2a8d27270b035125dc27dc5)

Author SHA1 Message Date
Christian Clason dd250b05d4
feat!: update to Neovim 0.7 APIs (#75) 2 years ago
Santos Gallegos 0198ef4a0c
Pass the query_bufnr explicitly to get_node_text (#73)
Fixes https://github.com/nvim-treesitter/playground/issues/53
2 years ago
dskleingeld 1eca93284f
playground keybindings no longer recursive, fixes #52 3 years ago
Santos Gallegos d9a9b44e6d Playground: check for nodes out of range (EOF)
The playground will try to set the cursor
to an invalid position (nvim_win_set_cursor) if the node starts at the EOF mark.

```ruby
def run
  a = <<~EOF
end
```
3 years ago
Santos Gallegos dcbbacf638
Hint how to use the query editor
Ref https://github.com/nvim-treesitter/playground/issues/23
3 years ago
Santos Gallegos efaec4d6d7
Fix linter 3 years ago
Santos Gallegos 13d597ca10
Autoformat 3 years ago
Stephan Seitz b6e79b53dc fix: formatting 3 years ago
Steven Sojka e377ff111e Merge pull request #28 from theHamsta/configure-keybinding
feat: make keybindings configurable and show help on "?"
3 years ago
Stephan Seitz 1775334cfa feat: make keybindings configurable and show help on "?" 3 years ago
Stephan Seitz 444eab728e
Merge pull request #25 from steelsojka/bugfix/named-highlights
fix(query): get named nodes when not displaying anonymous nodes
3 years ago
Steven Sojka c0c0e124a8 fix(buf): toggle buf window from tree window 3 years ago
Steven Sojka 9ab5126041 fix(query): get named nodes when not displaying anonymous nodes 3 years ago
Steven Sojka a98a028852 fix(internal): don't assume there is a root tree 3 years ago
Steven Sojka 41b574fbb4 refactor(internal): separate rendering from state updates 3 years ago
Steven Sojka 6e5412d04c fix(highlight): fix owning tree highlighting 3 years ago
Steven Sojka 888052eed4 refactor(printer): integrate injected languages
Co-authored-by: Jędrzej Boczar <yendreij@gmail.com>
3 years ago
Steven Sojka 8c568e4109
Merge pull request #7 from kyazdani42/feat/add-hl-group-in-virt-text
[WIP] Hl group for each node !
4 years ago
kiyan42 7b125212dc toggle hl with i 4 years ago
Stephan Seitz b6d6cbe8ff feat: add <cr> keymap to AST node 4 years ago
kiyan42 840ecf3e8b add hl group virt text for nodes 4 years ago
Steven Sojka 4f920f34a6 refactor(playground): use decorations api instead of highlight 4 years ago
Steven Sojka 1b73744c6c fix(persist): fix permissions 4 years ago
Steven Sojka d86094b028 feat(query): add option to enable persisting queries 4 years ago
Steven Sojka 08057ffaf5 feat(query): save last query based on filename 4 years ago
Steven Sojka 097f85d520 feat(query): add query tag highlighting 4 years ago
Steven Sojka c8dc6a18b1 progress on query editor 4 years ago
Steven Sojka ea1fccffbb feat(playground): add toggle command 4 years ago
Steven Sojka 8f08aa61f5 fix(window): don't change window focus on open 4 years ago
steelsojka 0dd1c79e83 don't update when playground isn't in a window 4 years ago
steelsojka d5cc2143bc add cleanup logic and update readme 4 years ago
steelsojka 7848c987e5 scroll with node selection 4 years ago
steelsojka f599257449 basic tree highlighting 4 years ago
Steven Sojka ea756d3f22 add node highlighting 4 years ago
Steven Sojka 51bafce2d0 feat(plugin): initial mvp 4 years ago