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(zls): use workspace zls.json if available #2944

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 20, 2023

  1. fix(zls): use workspace zls.json if available

    Language server config is read from `zls.json`. By default common global
    and user config directories are searched. However, this omits
    per-project configuration, which can be available in the workspace dir.
    
    We already look for `zls.json` to determine root dir, but we don't use
    it when starting the language server.
    
    This change appends `cmd` with `--config-path "zls.json"`, which uses
    the file when it's available and fall-backs to default logic when file
    is not available.
    lawrence-laz committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    9bd03c9 View commit details
    Browse the repository at this point in the history