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

Add yaml-language-server for yaml-mode #751

Merged
merged 1 commit into from
Jan 8, 2022
Merged

Conversation

leungbk
Copy link
Contributor

@leungbk leungbk commented Oct 7, 2021

  • eglot.el (eglot-server-programs): Add yaml-language-server

  • README.md: mention yaml-language-server

Copyright-paperwork-exempt: yes

@R0flcopt3r
Copy link

Does this work for you? On my end I get this error:

[server-notification] Wed Dec 29 11:04:30 2021:
(:jsonrpc "2.0" :method "window/logMessage" :params
          (:type 1 :message "Notification handler 'initialized' failed with message: Client doesn't support sending workspace folder change events."))

@leungbk
Copy link
Contributor Author

leungbk commented Dec 30, 2021

@R0flcopt3r it's been working for me. Would you mind describing how I can reproduce your error?

@R0flcopt3r
Copy link

I think my emacs had some wonkey state, I have no been able to replicate it, and it seems to work just fine now.

@skangas
Copy link
Collaborator

skangas commented Jan 8, 2022

@joaotavora This LGTM, WDYT?

@joaotavora
Copy link
Owner

@skangas, yes it looks good. There's a small conflcit in README.md, which is typical off these kind of "add language server" commits. Else it looks good. I think (but not sure), that @leungbk , Brian, already has at least one "Copyright-paperwork-exempt: Yes" commit but I don't think these lines would bring the total over the 15-line threshold. So feel free to integrate into master (via rebase and/or squash, preferably, as you did in other occasions)

@skangas
Copy link
Collaborator

skangas commented Jan 8, 2022

@joaotavora Thanks. Could you please double-check if this is okay for copyright purposes? I fear that it is above the limit, but I'm not sure.

This is the git log --author="Brian Leung" --stat --format=short output, including this change:

commit 6acecf43451eb87f0a4748118c740417cff7a234 (HEAD -> yaml)
Author: Brian Leung <[email protected]>

    Add yaml-language-server for yaml-mode

 README.md | 2 ++
 eglot.el  | 1 +
 2 files changed, 3 insertions(+)

commit 194b178ef41ccd3d937983f3829d44a546bb24d6
Author: Brian Leung <[email protected]>

    Close #712: Add support for LocationLink

 eglot.el | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

commit 47f8581434f5f853ff209538e5ee6e752f741d3c
Author: Brian Leung <[email protected]>

    Per #605: indicate support for activeParameter

 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit c73f5ede8a9a52d6b4dabcd73f59b3a263c1b664
Author: Brian Leung <[email protected]>

    Fix #612: remove duplicate entry for "Registration" LSP type

 eglot.el | 1 -
 1 file changed, 1 deletion(-)

commit 133c25e25f42ac16ee1c26a222d28d45fa566a64
Author: Brian Leung <[email protected]>

    Close #613: explicitly require seq.el

 eglot.el | 1 +
 1 file changed, 1 insertion(+)

commit 1f2b0241ca24d78edbd146d17daef6a0e6b2e4f3
Author: Brian Leung <[email protected]>

    Close #605: Support activeParameter property for SignatureInformation

 eglot.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit e6ca70c3e049107d41cdc63d6414f4a3799a9e33
Author: Brian Leung <[email protected]>

    Close #599: add rnix-lsp server for nix-mode, community suggestion

 README.md | 2 ++
 eglot.el  | 1 +
 2 files changed, 3 insertions(+)

@leungbk
Copy link
Contributor Author

leungbk commented Jan 8, 2022 via email

* eglot.el (eglot-server-programs): Add yaml-language-server.
* README.md: Mention yaml-language-server.
@skangas
Copy link
Collaborator

skangas commented Jan 8, 2022

I’ve signed all the copyright papers already, so I don’t think there should be a problem.

Thanks, I can see your commits in emacs.git, so there should be no problem here.

@skangas skangas merged commit 91b3f60 into joaotavora:master Jan 8, 2022
@skangas
Copy link
Collaborator

skangas commented Jan 8, 2022

Now merged to master, thanks for your contribution!

@joaotavora
Copy link
Owner

Yes, and I forgot that Brian had indeed already done a Copyright Assignemnt. Sorry about the noise. @skangas you can ask Eli for a "fencepost account" where you can do this checking yourself.

@leungbk leungbk deleted the yaml branch January 8, 2022 19:07
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

Successfully merging this pull request may close these issues.

4 participants