128 Commits (master)
 

Author SHA1 Message Date
Santos Gallegos d208b7999b
Avoid crash: check if the buffer is loaded before calling win_findbuf
Closes https://github.com/nvim-treesitter/playground/issues/33

We should report this to neovim as well
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
Stephan Seitz 520337f02d
Merge pull request #42 from nvim-treesitter/add-ci
Add CI checks
3 years ago
Stephan Seitz a12da3a80a
Merge pull request #43 from stsewd/use-ft-to-lang
Use ft_to_lang in guess_query_lang
3 years ago
Santos Gallegos b1478ed0db
Use ft_to_lang in guess_query_lang
This together with https://github.com/nvim-treesitter/nvim-treesitter/pull/1495
will the playground work with ecma and html tags
3 years ago
Santos Gallegos efaec4d6d7
Fix linter 3 years ago
Santos Gallegos 13d597ca10
Autoformat 3 years ago
Santos Gallegos cb9af32e45
Add CI checks 3 years ago
Folke Lemaitre 1e02dece0d Update README.md 3 years ago
Folke Lemaitre ec04bc90dc docs: added docs about TSHighlightCapturesUnderCursor 3 years ago
Stephan Seitz 79f71e2bd7 feat: add omnifunc for query filetype 3 years ago
Stephan Seitz 86d3ec6024
Merge pull request #38 from folke/master
feat: improved TSHighlightCapturesUnderCursor
3 years ago
Folke Lemaitre 0756ea839c fix: dont show general hl if it's the same as the lang specific hl 3 years ago
Folke Lemaitre 9658434355 fix: loop over iterator in for loop instead of while true 3 years ago
Folke Lemaitre 4cf329e6d3 feat: improved TSHighlightCapturesUnderCursor 3 years ago
Stephan Seitz a141bf5c97 Make clear that upper-case captures map directly to vim hl-groups
Ref: https://nvim-treesitter.zulipchat.com/#narrow/stream/252274-plugin.2Fnvim-treesitter/topic/gdscript.20bugs/near/235024462
3 years ago
Steven Sojka 1bf0f79cb4
Merge pull request #31 from theHamsta/escaped-anonymous-nodes
fix: unescape anonymous nodes with escape sequences
3 years ago
Stephan Seitz 946ebc734a fix: unescape anonymous nodes with escape sequences
This will enable the linter to recognize LaTeX commands like
`\usepackage` though it will appear as `"\\usepackage"` in the
query files.
3 years ago
Steven Sojka d96cef521d
Merge pull request #29 from theHamsta/config-key-fixup
Config key fixup
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
Steven Sojka 1b34c7c375
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 0fdb07c933
Merge pull request #26 from steelsojka/bugfix/close-buf-window-from-buf-window
fix(buf): toggle buf window from tree window
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
Stephan Seitz 7e373e5706
Merge pull request #21 from nvim-treesitter/fix-assume-lang-tree
fix(internal): don't assume there is a root tree
3 years ago
Steven Sojka a98a028852 fix(internal): don't assume there is a root tree 3 years ago
Steven Sojka 813113d6d7
Merge pull request #20 from nvim-treesitter/avoid-processing-fix
refactor(internal): separate rendering from state updates
3 years ago
Steven Sojka 41b574fbb4 refactor(internal): separate rendering from state updates 3 years ago
Steven Sojka bcd83b5ce6
Merge pull request #17 from nvim-treesitter/fix-node-highlight
fix(highlight): fix owning tree highlighting
3 years ago
Steven Sojka 6e5412d04c fix(highlight): fix owning tree highlighting 3 years ago
Steven Sojka 4a11cf237a
Merge pull request #16 from nvim-treesitter/refactor-lang-tree
refactor(printer): integrate injected languages
3 years ago
Steven Sojka 888052eed4 refactor(printer): integrate injected languages
Co-authored-by: Jędrzej Boczar <yendreij@gmail.com>
3 years ago
Stephan Seitz 0cba1b99cd fix(linter): Add (grouping) to toplevel-queries 3 years ago
Thomas Vigouroux bea78ce441
Merge pull request #13 from theHamsta/query-linter
Add a query linter module
3 years ago
Stephan Seitz 369198effb Make query linter work in playground buffer 3 years ago
Stephan Seitz 89cf86f7aa Lint toplevel-queries using Neovim parser 4 years ago
Stephan Seitz cd72c42eef Improve linting of anonymous_nodes 4 years ago
Stephan Seitz 79c6003aa0 Update README for query_linter 4 years ago
Stephan Seitz 4695492970 Make linter configurable 4 years ago
Stephan Seitz 9508d05015 Lint field names 4 years ago
Stephan Seitz 528920f460 Lint anonymous_nodes 4 years ago
Stephan Seitz ca81958b4b Add a query linter module 4 years ago
Steven Sojka bc68ffe8ef
Merge pull request #12 from nvim-treesitter/theHamsta-patch-1
Fix printing of keybindings in README.md
4 years ago
Stephan Seitz d14681e497
Fix printing of keybindings in README.md 4 years ago
Steven Sojka 86ad6e00df
Merge pull request #10 from theHamsta/fix-lanugage-tree
Fix playground for languagetree API change
4 years ago
Stephan Seitz 7082ccb4f4 Fix playground for languagetree API change 4 years ago
Steven Sojka 0cb0a18378
Merge pull request #9 from theHamsta/TSHighlightCapturesUnderCursor
feat: add `TSHighlightCapturesUnderCursor` to show hl matches under cursor
4 years ago