Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reload language server client on restart #420

Merged

Commits on Sep 13, 2024

  1. fix: reload language server client on restart

    Ensure the client watcher and output channel are disposed during a
    restart before the new client is creates, and also show a helper warning
    when certain variables are changed that require a restart.
    
    Also catch errors starting the client, so that our restart configuration
    change handler is still registered in case the user fixes their
    serverPath or something like that. Similarly, always register the
    restart command in case user wants to start using language server after
    not using it before.
    
    Closes nix-community#419
    ian-h-chamberlain committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    886de87 View commit details
    Browse the repository at this point in the history