diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-06-18 18:30:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 09:30:54 -0700 |
commit | 9c0f2253a5c014ba1ab7ee6e403a0b07c4e01b40 (patch) | |
tree | 21542cce626c5c354dd0ed87a01b031368a30a66 /src/nvim/api/vim.c | |
parent | 1ad6423f02bad6d7941ca38f2d5f7b757811e022 (diff) | |
download | rneovim-9c0f2253a5c014ba1ab7ee6e403a0b07c4e01b40.tar.gz rneovim-9c0f2253a5c014ba1ab7ee6e403a0b07c4e01b40.tar.bz2 rneovim-9c0f2253a5c014ba1ab7ee6e403a0b07c4e01b40.zip |
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.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions