mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
fix(logging): try harder to resolve Nvim "name" #19016
Problem: If startup finishes (starting=false) before the logger ever happens to see a v:servername, we're stuck with the "?.<PID>" fallback name forever. Solution: Drop the `starting` condition. Discard the "?.<PID>" fallback after using it for the current log message. So logging will always check v:servername next time.
This commit is contained in:
@@ -8199,7 +8199,7 @@ varnumber_T get_vim_var_nr(int idx) FUNC_ATTR_PURE
|
||||
|
||||
/// Get string v: variable value. Uses a static buffer, can only be used once.
|
||||
/// If the String variable has never been set, return an empty string.
|
||||
/// Never returns NULL;
|
||||
/// Never returns NULL.
|
||||
char *get_vim_var_str(int idx)
|
||||
FUNC_ATTR_PURE FUNC_ATTR_NONNULL_RET
|
||||
{
|
||||
|
Reference in New Issue
Block a user