SmiteshP / nvim-navic

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

Lualine `on_click` support #126

Closed Mayrixon closed 11 months ago

Mayrixon commented 12 months ago

I noticed that Navic has its own click support and provided a simple way to add a component in Lualine. Is that possible to expose an API to set up Navic click function when enabled as a Lualine component?

SmiteshP commented 11 months ago

Both the things are independent of each other. So just having click=true in setup function and adding navic component to lualine should work just fine

Mayrixon commented 11 months ago

Thanks @SmiteshP for your reply. I have tried with the option click = true of Navic inside a winbar of Lualine, and the click function works properly.