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

Use a config variable to store configuration changes #55

Closed
wants to merge 1 commit into from

Commits on Oct 31, 2023

  1. feat(language-server): use a config variable to store configuration

    changes
    
    When using for example the neovim language server client, the contextive
    language server does not acquire the proper settings sent by the client
    in the `OnStarted` handler. However, the settings are passed correctly
    using the `OnDidChangeConfiguration` handler.
    
    This change introduces a scoped variable in the server start function to
    hold a mutable field for the Contextive path configuration. The
    configuration variable is initialized with the default path for
    Contextive definitions introduced in commit 23f9049.
    
    If the language configuration does not have a config value, it will use
    the value from the configuration variable instead. This works the same
    way as it did previously, but the source is now a parameter of the
    function.
    erikjuhani committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    b428feb View commit details
    Browse the repository at this point in the history