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

No further information on how to configure ZLS: Looping docs #6

Closed
gptlang opened this issue Oct 7, 2024 · 2 comments
Closed

No further information on how to configure ZLS: Looping docs #6

gptlang opened this issue Oct 7, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@gptlang
Copy link

gptlang commented Oct 7, 2024

https://zigtools.org/zls/install/#neovim

-- Further information on how to configure ZLS:
-- https://github.com/zigtools/zls/wiki/Configuration
settings = {
  zls = {
    -- omit the following line if `zig` is in your PATH
    zig_exe_path = '/path/to/zig_executable',
  }

https://github.com/zigtools/zls/wiki/Configuration

The Configuration Guide has been moved to https://zigtools.org/zls/install/

@gptlang gptlang added the enhancement New feature or request label Oct 7, 2024
@gptlang
Copy link
Author

gptlang commented Oct 7, 2024

zls isn't respecting ~/.config/zls.json which shows in zls env. enable_build_on_save is enabled and zig build check works but nothing happens on save.

{
  "$schema": "https://raw.githubusercontent.com/zigtools/zls/master/schema.json",
  "enable_snippets": true,
  "enable_ast_check_diagnostics": true,
  "enable_autofix": false,
  "enable_import_embedfile_argument_completions": true,
  "warn_style": true,
  "enable_semantic_tokens": true,
  "enable_inlay_hints": true,
  "operator_completions": true,
  "include_at_in_builtins": false,
  "max_detail_length": 1048576,
  "enable_build_on_save": true
}

hence why I'm thinking of putting it in my neovim config instead. Not sure if it's identical

@Techatrix
Copy link
Member

zls isn't respecting ~/.config/zls.json which shows in zls env. [...]

Please open a new issue about this. The ZLS log output can be especially useful.

@Techatrix Techatrix added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Oct 9, 2024
@Techatrix Techatrix transferred this issue from zigtools/zls Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants