Skip to content

Passing config for Intelephense PHP #1365

Discussion options

You must be logged in to vote

Nice. The event buffer gives some very valuable insights. I fixed it.

There were two things wrong:

  1. I am a lisp programmer mainly and so I default to nil for false. Reading over the docs again I saw that :json-false translates to false. And nil translated to null in json. Question, why not stick to t and nil?
  2. Secondly, the correct workspace block is:
(setq-default eglot-workspace-configuration
              '(:intelephense (:diagnostics (:enable :json-false))))

Thanks @joaotavora , great lsp.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kevinizevbigie
Comment options

Answer selected by Kevinizevbigie
@joaotavora
Comment options

@Kevinizevbigie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants