mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(lsp): support containerName in symbol requests #35029
The field is present for SymbolInformation and WorkspaceSymbol.
This commit is contained in:
@@ -3328,7 +3328,7 @@ describe('LSP', function()
|
||||
filename = '/test_a',
|
||||
kind = 'File',
|
||||
lnum = 2,
|
||||
text = '[File] TestA',
|
||||
text = '[File] TestA in TestAContainer',
|
||||
},
|
||||
{
|
||||
col = 1,
|
||||
@@ -3337,7 +3337,7 @@ describe('LSP', function()
|
||||
filename = '/test_b',
|
||||
kind = 'Module',
|
||||
lnum = 4,
|
||||
text = '[Module] TestB',
|
||||
text = '[Module] TestB in TestBContainer (deprecated)',
|
||||
},
|
||||
}
|
||||
eq(
|
||||
@@ -3364,7 +3364,7 @@ describe('LSP', function()
|
||||
containerName = 'TestAContainer',
|
||||
},
|
||||
{
|
||||
deprecated = false,
|
||||
deprecated = true,
|
||||
kind = 2,
|
||||
name = 'TestB',
|
||||
location = {
|
||||
|
||||
Reference in New Issue
Block a user