summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/treesitter/dev.lua
AgeCommit message (Collapse)AuthorFiles
2023-09-20docs: misc #24561Justin M. Keyes1
fix #24699 fix #25253
2023-09-16feat(treesitter): add lang parameter to the query editor (#25181)Maria José Solano1
2023-09-15refactor(treesitter): rename "preview" => "edit" #25161Maria José Solano1
"Edit" more closely describes the generic application than "Preview", though the buffer contents don't (yet) map to an actual file on disk. https://github.com/neovim/neovim/pull/24703#discussion_r1321719133
2023-09-12fix(treesitter): fixup for InspectTreeLewis Russell1
Fixes #25120
2023-09-12fix(treesitter): remove more double recursionLewis Russell1
Do not call `for_each_child` in functions that are already recursive.
2023-08-27fix(treesitter): validate window before updating preview highlightsMaria José Solano1
2023-08-25feat(treesitter): add a query editor (#24703)Maria José Solano1
2023-08-12feat(treesitter)!: incremental injection parsingLewis Russell1
Problem: Treesitter highlighting is slow for large files with lots of injections. Solution: Only parse injections we are going to render during a redraw cycle. --- - `LanguageTree:parse()` will no longer parse injections by default and now requires an explicit range argument to be passed. - `TSHighlighter` now parses injections incrementally during on_win callbacks for the line range being rendered. - Plugins which require certain injections to be parsed must run `parser:parse({ start_row, end_row })` before using the tree.
2023-08-07fix(treesitter): escape quotes in :InspectTree view #24582ObserverOfTime1
Problem: Anonymous nodes containing double quotes break the highlighting. Solution: Escape double quotes in anonymous nodes.
2023-07-18docs(lua): more improvements (#24387)Lewis Russell1
* docs(lua): teach lua2dox how to table * docs(lua): teach gen_vimdoc.py about local functions No more need to mark local functions with @private * docs(lua): mention @nodoc and @meta in dev-lua-doc * fixup! Co-authored-by: Justin M. Keyes <justinkz@gmail.com> --------- Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2023-06-06refactor!: rename "playground" => "dev" #23919Justin M. Keyes1
Problem: "playground" is new jargon that overlaps with existing concepts: "dev" (`:help dev`) and "view" (also "scratch" `:help scratch-buffer`) . Solution: We should consistently use "dev" as the namespace for where "developer tools" live. For purposes of a "throwaway sandbox object", we can use the name "view". - Rename `TSPlayground` => `TSView` - Rename `playground.lua` => `dev.lua`