aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-06 08:23:20 -0700
committerGitHub <noreply@github.com>2023-06-06 08:23:20 -0700
commitc48b1421af28d0317c807bca00c7e2fff97d9ad0 (patch)
tree6737f131d5dc773318ee9816ca7b7b92af4702ea /runtime/lua/vim/treesitter.lua
parent175e5c8b96fe0756040fcb31f46d9c97b3957776 (diff)
downloadrneovim-c48b1421af28d0317c807bca00c7e2fff97d9ad0.tar.gz
rneovim-c48b1421af28d0317c807bca00c7e2fff97d9ad0.tar.bz2
rneovim-c48b1421af28d0317c807bca00c7e2fff97d9ad0.zip
refactor!: rename "playground" => "dev" #23919
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`
Diffstat (limited to 'runtime/lua/vim/treesitter.lua')
-rw-r--r--runtime/lua/vim/treesitter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter.lua b/runtime/lua/vim/treesitter.lua
index 12fbe1654f..5526c9858c 100644
--- a/runtime/lua/vim/treesitter.lua
+++ b/runtime/lua/vim/treesitter.lua
@@ -493,7 +493,7 @@ end
--- argument and should return a string.
function M.inspect_tree(opts)
---@cast opts InspectTreeOpts
- require('vim.treesitter.playground').inspect_tree(opts)
+ require('vim.treesitter.dev').inspect_tree(opts)
end
--- Returns the fold level for {lnum} in the current buffer. Can be set directly to 'foldexpr':