Closed farias-hecdin closed 1 year ago
Heyyo @farias-hecdin, good stuff ❤️ .
I will merge in 2 days as Im not at home currently and I cant test. Also if you could change all the casing to snake, it would be great. In the mean time, if you dont encounter any bugs too, let me know 😅
I corrected some bugs in the functionality. Pardon my mistake. :tired_face:
Thank you for the PR ❤️
Bro, i got a error currently i use lsp
heyyo @muhrizkiakbar, which version of neovim are you on? the requirement secrion was updated recently: #70
Hello! How are you? I created this small functionality for staline.nvim.
I like the
lsp_name
section, but I had the inconvenience that every LSP client is activated when navigating between different files, causing thelsp_name
list of names to grow and grow, ruining the appearance ofstaline
.My solution was to add the
lsp_client_character_name
option to the configuration file and expand the features oflsp_name
, so that by adding a certain value tolsp_client_character_name
, the list of names would be truncated and a number indicating how many clients are active would be displayed.That is:
With
lsp_client_character_name = 0
.With
lsp_client_character_name = 12
.With
lsp_client_character_name = 12
when the LSP client is not detected.The icon is part of
lsp_client_symbol
.What do you think?