nvim-lua / lsp-status.nvim

Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline
MIT License
625 stars 41 forks source link

Is it fine to have an option to remove current function indication? #20

Closed VVKot closed 3 years ago

VVKot commented 3 years ago

It feels a bit jarring to me, I would rather just have indicators. Does enabled_current_function option that defaults to true makes sense?

wbthomason commented 3 years ago

I'd be happy to merge a PR for this, but I'll note that the statusline component shipped in this plugin is meant as an out-of-the-box default --- for significant customization, you're encouraged to build your own statusline component around the functions this plugin provides.

wbthomason commented 3 years ago

@VVKot I unexpectedly had a chance to add this - check out the current_function config option. Feel free to re-open if this isn't what you had in mind!