mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
refactor(lsp): merge subtypes and supertypes into typehierarchy (#28467)
Both methods had pretty much the same documentation and shared the implementation.
This commit is contained in:

committed by
GitHub

parent
052498ed42
commit
c81b7849a0
@@ -3463,7 +3463,7 @@ describe('LSP', function()
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('vim.lsp.buf.subtypes', function()
|
||||
describe('vim.lsp.buf.typehierarchy subtypes', function()
|
||||
it('does nothing for an empty response', function()
|
||||
local qflist_count = exec_lua([=[
|
||||
require'vim.lsp.handlers'['typeHierarchy/subtypes'](nil, nil, {})
|
||||
@@ -3681,7 +3681,7 @@ describe('LSP', function()
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('vim.lsp.buf.supertypes', function()
|
||||
describe('vim.lsp.buf.typehierarchy supertypes', function()
|
||||
it('does nothing for an empty response', function()
|
||||
local qflist_count = exec_lua([=[
|
||||
require'vim.lsp.handlers'['typeHierarchy/supertypes'](nil, nil, {})
|
||||
|
Reference in New Issue
Block a user