diff options
Diffstat (limited to 'server/src/core')
-rw-r--r-- | server/src/core/document_symbol.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/core/document_symbol.lua b/server/src/core/document_symbol.lua index 5b69de2e..af9021e3 100644 --- a/server/src/core/document_symbol.lua +++ b/server/src/core/document_symbol.lua @@ -86,6 +86,9 @@ local function buildLocal(vm, loc) if loc.hide then return nil end + if loc.key == '_' then + return nil + end local range = { loc.source.start, loc.source.finish } local hvr = hover(loc, loc.source) return { |