aerial.nvim icon indicating copy to clipboard operation
aerial.nvim copied to clipboard

Missing symbols for YAML with treesitter

Open nmiguel opened this issue 10 months ago • 0 comments

Language: YAML AerialInfo Aerial Info AerialInfo ----------- AerialInfo Filetype: yaml AerialInfo Configured backends: AerialInfo treesitter (supported) (attached) AerialInfo lsp (not supported) [No LSP client found that supports symbols] AerialInfo markdown (not supported) [Filetype is not markdown] AerialInfo asciidoc (not supported) [Filetype is not asciidoc] AerialInfo man (not supported) [Filetype is not man] AerialInfo Show symbols: all symbols

The minimal amount of code that demonstrates the missing symbol:

example: |
    Lorem ipsum
    Lorem ipsum again ...

Expected symbol: Key

Here is my config options:

opts = {
	backends = { "treesitter", "lsp", "markdown", "asciidoc", "man" },
	layout = {
		default_direction = "left",
		min_width = 20,
	},
	close_automatic_events = { "unfocus" },
	close_on_select = true,
	autojump = true,
	filter_kind = false,
},

filter_kind is currently set to false so as to show all possible symbols. Using vim.treesitter.inspect_tree() shows multiple key value pairs. I would expect the keys to show in aerial, but I get no symbols.

nmiguel avatar Apr 19 '24 10:04 nmiguel