Skip to content

Symbol outline doesn't work properly in python files and C files #1058

@Qejun

Description

@Qejun

Version confirmation

  • Confirm

Following prerequisites

  • Confirm

Not a user config issue

  • Confirm

Neovim version

nvim0.9.4

Operating system/version

win10

Terminal name/version

Windows terminal

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

Symbol outline doesn't work properly in python files and C files,I wonder where to start with this problem
屏幕截图 2023-11-09 080019

Expected behavior

In a lua file, the symbol outline correctly displays the hierarchical structure of the content

屏幕截图 2023-11-09 080714

Actual behavior

In python files and C files, everything is displayed on the same level when navigating with symbol outline
屏幕截图 2023-11-09 080019

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlspLSP related issuespylspPython LSP Server related issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions