diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-03-02 10:01:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 07:01:42 -0800 |
commit | b0b4c310973c2b419350e3c05c772596b1c334e9 (patch) | |
tree | a7d00324c860d9e5c55ae105785c9b103032dd73 /runtime/lua/vim/inspect.lua | |
parent | a0292b4e5f106482edc5623eef85aa48e2e55bb7 (diff) | |
download | rneovim-b0b4c310973c2b419350e3c05c772596b1c334e9.tar.gz rneovim-b0b4c310973c2b419350e3c05c772596b1c334e9.tar.bz2 rneovim-b0b4c310973c2b419350e3c05c772596b1c334e9.zip |
refactor: rename show_tree => inspect_tree #22474
Problem:
"show" is potentially a new verb that we can avoid (there is already
"open" and "echo"). Even if we can't avoid it, the behavior of
`show_tree` fits well in the "inspect" family of functions: a way for
users to introspect/reflect on the state of Nvim.
Existing "inspect" functions:
vim.inspect()
vim.inspect_pos()
vim.treesitter.inspect_language()
nvim__inspect_cell
Solution:
Rename `show_tree` to `inspect_tree`.
Diffstat (limited to 'runtime/lua/vim/inspect.lua')
0 files changed, 0 insertions, 0 deletions