SmiteshP / nvim-navic

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

Lualine `on_click` support #126

Closed Mayrixon closed 1 year ago

Mayrixon commented 1 year 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 1 year 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 1 year 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.