Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nvim-treesitter/playground
Treesitter playground integrated into Neovim
https://github.com/nvim-treesitter/playground
ba48c6a62a280eefb7c85725b0915e021a1a0749 authored about 1 year ago by Christian Clason <[email protected]>
all functionality is now included in Neovim
429f3e76cbb1c59fe000b690f7a5bea617b890c0 authored about 1 year ago by Christian Clason <[email protected]>
PR #120 used nvim-treesitter.compat in some occasions but not all:
https://github.com/nvim-trees...
934cb4c4adc2e7f4f351846a63c9532018c996ed authored over 1 year ago by monaqa <[email protected]>
ref: neovim/neovim@cbbf8bd
db54848c7d878965bc31237059841f4e91e9de93 authored over 1 year ago by Tom van Dijk <[email protected]>fix: rename ts_utils.is_in_node_range -> vim.treesitter.is_in_node_range
4044b53c4d4fcd7a78eae20b8627f78ce7dc6f56 authored over 1 year ago by Stephan Seitz <[email protected]>f6266422618c6b80eaf9983d35d386b49181f70f authored over 1 year ago by Yuta Katayama <[email protected]>
feat(query_linter): add new option use_diagnostics
c046acba262adc71337de021f814be7477668a2e authored over 1 year ago by Stephan Seitz <[email protected]>f2ae937170ff727679ab59a9e0e84ae9549e50f6 authored over 1 year ago by Otto Modinos <[email protected]>
I believe `use_diagnostics` is superior in every way
a3757e6210174b4ddf81eaf8e66fcab9d224aa73 authored over 1 year ago by Otto Modinos <[email protected]>
This also replaces the apparently deprecated `nvim_buf_set_virtual_text`
with `nvim_buf_set_extm...
Adds a new option (enabled by default) for the query_linter that uses
the builtin `vim.diagnosti...
fix: highlight groups are off by one
c481c660fa903a0e295902b1765ecfbd6e76a556 authored over 1 year ago by Stephan Seitz <[email protected]>dcfd1f9974baf2c14d8743c8a2c464a658c05d8a authored over 1 year ago by ObserverOfTime <[email protected]>
Add note about query linter assumptions
c19bcfd6a3681bc876e1b861f6685bfc04972d0d authored over 1 year ago by Stephan Seitz <[email protected]>64376e2ffbe9ac9d14df7cba747ebc80def361a0 authored over 1 year ago by ghostbuster91 <[email protected]>
01c27f37a1f067200680cacfb7b96f5ad2fa5cd6 authored almost 2 years ago by figsoda <[email protected]>
b411a5c772c5e119dd5655e7531a4a8454979921 authored almost 2 years ago by figsoda <[email protected]>
926d0f94114052c6f7ac891de3c171b937c4e5a6 authored almost 2 years ago by Jeremy Goh <[email protected]>
fix: use current buf for get_node_text in on_query_cursor_move
8a887bcf66017bd775a0fb19c9d8b7a4d6759c48 authored almost 2 years ago by Stephan Seitz <[email protected]>1d392660f32117120e2e33cb0eeadb0e53366b7e authored almost 2 years ago by kraem <[email protected]>
chore: replace deprecated ts_utils.get_node_text
9050dca056592e4e7cda3c7eccc1673f4a8922fe authored almost 2 years ago by Stephan Seitz <[email protected]>Fixes #101
632b649a375ef9775df3f40830039066d4508840 authored almost 2 years ago by Stephan Seitz <[email protected]>3421bbbfec25a7c54ee041ffb9cb226b69b2b995 authored almost 2 years ago by dundargoc <[email protected]>
1290fdf6f2f0189eb3b4ce8073d3fda6a3658376 authored almost 2 years ago by Christian Clason <[email protected]>
19bdbb657d206ddb336a141ddb7e1818a1c7a744 authored almost 2 years ago by Christian Clason <[email protected]>
e6a0bfaf9b5e36e3a327a1ae9a44a989eae472cf authored about 2 years ago by Christian Clason <[email protected]>
e98525259c10f94605c9f841c1b7e5cbff04faeb authored about 2 years ago by Christian Clason <[email protected]>
546d2df7c14b705a99dff44a7429a5e33df7a5d9 authored about 2 years ago by Christian Clason <[email protected]>
Fixes #86
bcfab84f98a33f2ad34dda6c842046dca70aabf6 authored about 2 years ago by Stephan Seitz <[email protected]>49e5dd2b6cfa7a928efbcbe929dae6e45faba4e5 authored about 2 years ago by Stephan Seitz <[email protected]>
fix(fallback for show_hl_captures)
90d2b3e1729363f96ce2c23f16129534df893bbf authored about 2 years ago by Stephan Seitz <[email protected]>This is a stop-gap fix to avoid errors on latest master after neovim/neovim#19931
This at lea...
a0aeb6af82b087b37aeed359b68df3e8f594967f authored about 2 years ago by Christian Clason <[email protected]>e03ba6cb60bf08d1870bd6eccf02818cbb32ec2b authored about 2 years ago by aarondiel <[email protected]>
prevent error when focusing playground after closing buffer
ce7e4b757598f1c785ed0fd94fc65959acd7d39c authored over 2 years ago by mohsen <[email protected]>71b00a3c665298e5155ad64a9020135808d4e3e8 authored over 2 years ago by Christian Clason <[email protected]>
dd250b05d41e16f4e2a8d27270b035125dc27dc5 authored over 2 years ago by Christian Clason <[email protected]>
add `hl-info.show_ts_node({opts})` to show tree-sitter node under cursor, exposed via `:TSNodeUn...
13e2d2d63ce7bc5d875e8bdf89cb070bc8cc7a00 authored over 2 years ago by Pedro Castro <[email protected]>7dbcd4d647010a80d135804b3fc1da3fb77083d6 authored over 2 years ago by Christian Clason <[email protected]>
Fixes https://github.com/nvim-treesitter/playground/issues/53
0198ef4a0c3388cb93d59f682f146ae6b033a4ef authored over 2 years ago by Santos Gallegos <[email protected]>
This code depended on an internal cache that stored the names,
but it was changed to store the ...
playground keybindings no longer recursive, fixes #52
787a7a8d4444e58467d6b3d4b88a497e7d494643 authored about 3 years ago by Stephan Seitz <[email protected]>1eca93284fe14240660739d1e88aa29a2141afc5 authored about 3 years ago by dskleingeld <[email protected]>
Improvements for TSHighlightCapturesUnderCursor
deb887b3f49d66654d9faa9778e8949fe0d80bc3 authored about 3 years ago by Stephan Seitz <[email protected]>
- show priority
- show both syntax and tree-sitter if both are enabled
This is to match https://github.com/nvim-treesitter/tree-sitter-query/pull/15
2715d35f27cbdfe6231e48212d12be383013f442 authored over 3 years ago by Santos Gallegos <[email protected]>
The playground will try to set the cursor
to an invalid position (nvim_win_set_cursor) if the no...
Fix typo
6e0037c974d17b2883e3f0f38bb3cb6b1daa5feb authored over 3 years ago by Stephan Seitz <[email protected]>ed84d83a3a0348fec52dbb2c3550cc00a20dd13c authored over 3 years ago by Santos Gallegos <[email protected]>
Hint how to use the query editor
1dcdf852583d21e363028edf7e3a7a9ef6f25823 authored over 3 years ago by Stephan Seitz <[email protected]>Avoid crash: check if the buffer is loaded before calling win_findbuf
13cf5d3788900b7a4cf2edd8b4a764d6052ccd05 authored over 3 years ago by Stephan Seitz <[email protected]>Closes https://github.com/nvim-treesitter/playground/issues/33
We should report this to neovim ...
d208b7999b74371a0692687847b79cd45c82da80 authored over 3 years ago by Santos Gallegos <[email protected]>Ref https://github.com/nvim-treesitter/playground/issues/23
dcbbacf638a6cb520421f2f5adece090f882908b authored over 3 years ago by Santos Gallegos <[email protected]>Add CI checks
520337f02d2b75bd8b7a997fac72ac889aeea89d authored over 3 years ago by Stephan Seitz <[email protected]>Use ft_to_lang in guess_query_lang
a12da3a80ad6722933af9210a86c7251aa2ecd1e authored over 3 years ago by Stephan Seitz <[email protected]>
This together with https://github.com/nvim-treesitter/nvim-treesitter/pull/1495
will the playgro...
efaec4d6d72cb3cec94559ffbf373afaae2ce3ba authored over 3 years ago by Santos Gallegos <[email protected]>
13d597ca10e4c0b6839b545c9c69a01a313ce428 authored over 3 years ago by Santos Gallegos <[email protected]>
cb9af32e456324bc7f60879b6e46ffcfb019f213 authored over 3 years ago by Santos Gallegos <[email protected]>
1e02dece0daa4bef6a24c7a8b6edd48169885b18 authored over 3 years ago by Folke Lemaitre <[email protected]>
ec04bc90dc3f46abc824be09c89117796338dcaa authored over 3 years ago by Folke Lemaitre <[email protected]>
79f71e2bd73978dfc7d228042d5e90c8545df623 authored over 3 years ago by Stephan Seitz <[email protected]>
feat: improved TSHighlightCapturesUnderCursor
86d3ec602447ac03f6cafa74beb0c8af1fb25368 authored over 3 years ago by Stephan Seitz <[email protected]>0756ea839c1fee71edbfad241974fc4faa9731de authored over 3 years ago by Folke Lemaitre <[email protected]>
96584343555421aac1b72b81440f79beb6fa9ef9 authored over 3 years ago by Folke Lemaitre <[email protected]>
4cf329e6d3b00feba16baaceb0ee51368bedca96 authored over 3 years ago by Folke Lemaitre <[email protected]>
Ref: https://nvim-treesitter.zulipchat.com/#narrow/stream/252274-plugin.2Fnvim-treesitter/topic/...
a141bf5c9734ac164cb0dda5e7a2b8b16273a4f6 authored over 3 years ago by Stephan Seitz <[email protected]>fix: unescape anonymous nodes with escape sequences
1bf0f79cb461b11196cc9f419763be3373db2848 authored over 3 years ago by Steven Sojka <[email protected]>
This will enable the linter to recognize LaTeX commands like
`\usepackage` though it will appear...
Config key fixup
d96cef521d22afd1a409449a890f20f50b436ee1 authored over 3 years ago by Steven Sojka <[email protected]>b6e79b53dc999fd6291ea18740d1ad7d6e4bb849 authored over 3 years ago by Stephan Seitz <[email protected]>
feat: make keybindings configurable and show help on "?"
e377ff111e7a993dc6982dee94f14eebcb6aaffe authored over 3 years ago by Steven Sojka <[email protected]>feat: make keybindings configurable and show help on "?"
1b34c7c375d3092fb07ef702b85a669a58ae67b7 authored over 3 years ago by Steven Sojka <[email protected]>1775334cfaa259b64b60e8e986b87835a4ef2344 authored over 3 years ago by Stephan Seitz <[email protected]>
fix(query): get named nodes when not displaying anonymous nodes
444eab728ecaf337629a45a733535e94a3efc04a authored over 3 years ago by Stephan Seitz <[email protected]>fix(buf): toggle buf window from tree window
0fdb07c9334becaf431b4f2e11fedf158bd97f34 authored over 3 years ago by Steven Sojka <[email protected]>c0c0e124a8da18f5924a2c6c0f862b992c7cccdf authored over 3 years ago by Steven Sojka <[email protected]>
9ab512604170f3fcc29ebbc0bb42472bfb7fac15 authored over 3 years ago by Steven Sojka <[email protected]>
fix(internal): don't assume there is a root tree
7e373e5706a2df71fd3a96b50d1f7b0c3e7a0b36 authored over 3 years ago by Stephan Seitz <[email protected]>a98a0288523458508d6dde7d838d13b915ff181d authored over 3 years ago by Steven Sojka <[email protected]>
refactor(internal): separate rendering from state updates
813113d6d7c3f650a338be499b6f849afe34fcd3 authored over 3 years ago by Steven Sojka <[email protected]>41b574fbb4300b2d038caff067da8e266bf00b68 authored over 3 years ago by Steven Sojka <[email protected]>
fix(highlight): fix owning tree highlighting
bcd83b5ce698e9ffdd27e64be16f04f0544ca047 authored over 3 years ago by Steven Sojka <[email protected]>6e5412d04cb3fc203ac84629be22f79ece348d31 authored over 3 years ago by Steven Sojka <[email protected]>
refactor(printer): integrate injected languages
4a11cf237a6e505feb747f6097d48bf0195888b3 authored over 3 years ago by Steven Sojka <[email protected]>Co-authored-by: Jędrzej Boczar <[email protected]>
888052eed44233436ee5513aa8c13d1c598d755c authored over 3 years ago by Steven Sojka <[email protected]>0cba1b99cd6cfcd0379e57c317ea1df0c1c82b3a authored almost 4 years ago by Stephan Seitz <[email protected]>
Add a query linter module
bea78ce4414188f70d3f654747fbb7c2544c76c8 authored almost 4 years ago by Thomas Vigouroux <[email protected]>369198effb7424b6203390e3f7dd19dbc2579378 authored almost 4 years ago by Stephan Seitz <[email protected]>
89cf86f7aa153cb71e893796ca976d5a4f7a047b authored almost 4 years ago by Stephan Seitz <[email protected]>
cd72c42eef7ded5cbba646017b6e9008ce1ff1e6 authored almost 4 years ago by Stephan Seitz <[email protected]>
79c6003aa0b8cb2c29bc1cd32f8e4987fb9334f6 authored almost 4 years ago by Stephan Seitz <[email protected]>
46954929700a865617272969c62e14ccb6be5679 authored almost 4 years ago by Stephan Seitz <[email protected]>
9508d0501577a042dc2c6485a90b3ebf0471e107 authored almost 4 years ago by Stephan Seitz <[email protected]>
528920f460df917ad3ca0580e628ff28c35103fe authored almost 4 years ago by Stephan Seitz <[email protected]>
ca81958b4b5335887eafc25ae97a2a68989791b6 authored almost 4 years ago by Stephan Seitz <[email protected]>
Fix printing of keybindings in README.md
bc68ffe8efab3a3b575122a26cf434e13e084844 authored almost 4 years ago by Steven Sojka <[email protected]>d14681e49753993f52f3ac060db8e21f18562028 authored almost 4 years ago by Stephan Seitz <[email protected]>
Fix playground for languagetree API change
86ad6e00dfbc80aeffa841043582f170c4c744ac authored almost 4 years ago by Steven Sojka <[email protected]>7082ccb4f4ed61b22671d55bb47eaaee2a2f7c97 authored almost 4 years ago by Stephan Seitz <[email protected]>