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

Zed installation #65

Open
SwimGeek opened this issue Nov 17, 2024 · 2 comments
Open

Zed installation #65

SwimGeek opened this issue Nov 17, 2024 · 2 comments

Comments

@SwimGeek
Copy link

Hi

Please add some info on getting this to work with the Zed editor.

@rubenhesselink
Copy link
Contributor

We don't use Zed so we don't have any experience with it. I suggest following Zed's documentation regarding configuring language servers: https://zed.dev/docs/configuring-languages#configuring-language-servers

@fabienheureux
Copy link

fabienheureux commented Nov 19, 2024

This should be something along

{
  "lsp": {
    // Your other lsp servers
    "djlsp": {
      "command": "path-to-djlsp-command",
      "initialization_options": {
        "django_settings_module": "<your.settings.module>"
      }
    },
  },
  "languages": {
    "HTML": {
      "language_servers": [ "some-other-lsp-server", "djlsp"]
    },
    // your other languages settings
  }
}

⚠️ However...it is not working for me at the moment, I am trying to understand what is going wrong, I am pretty sure this is on my end.
When I inspect zed logs, I get the error below

2024-11-19T13:39:57.25813+01:00 [WARN] no language server found matching 'djlsp'

Let me know how it goes for you @SwimGeek, I would be happy to open a PR once we get it working.
Thanks a lot for your work Four Digits team 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants