SmiteshP / nvim-navic

Simple winbar/statusline plugin that shows your current code context
Apache License 2.0
1.43k stars 50 forks source link

Cursor must be on variable name? #144

Open rodhash opened 8 months ago

rodhash commented 8 months ago

Hi, two questions pls:

I noticed that Navic only shows the variable name if I move the cursor over the variable name:

navic_test

This behavior is expected? I noticed that in other winbars like lspsaga this doesn't happen, even when cursor is at column 1 it shows up the variable name.

And second thing.. Navic can show the index of the array I'm on?

Thanks.. great plugin