nvim-navic
nvim-navic copied to clipboard
SymbolInformation support
This PR adds support for SymbolInformation symbols and simplifies the context update logic.
SymbolInformation symbols are parsed using the existing logic, then augmented with hierarchical information by examining their positional relationships (e.g., if symbol B is within the bounds of symbol A, B is a child of A).
This has been manually tested with the svelte, html, cssls, tsserver, and sumneko language servers. Svelte, html, and cssls all use SymbolInformation, while tsserver and sumneko use DocumentSymbol. So far I haven't seen any issues.
This would resolve #39
@SmiteshP can this be merged in?
@SmiteshP can this be merged in?
Can confirm works well with powershell_es also! Very happy to see this working Currently running Jasons branch
Hey guys! Sorry I haven't been able to look at this for so long... I am traveling and don't have my laptop. Will review this soon.
Closing in favor of #55