Skip to content
Discussion options

You must be logged in to vote

So when you asked this question it wasn't possible, but I've just pushed some additions that let you subscribe to notifications from the lsp:

If you're willing to be on the bleeding edge a bit, you could help me experiment with this since I haven't had a chance to fully test it out. The docs:

Register a callback to be called on LSP notifications sent from the server -> client
that aren't currently handled by Helix as a built in.

(register-lsp-notification-handler lsp-name event-name handler)
  • lsp-name : string?
  • event-name : string?
  • function : (-> hash? any?) ;; Function where the first argument is the parameters

Examples

(register-lsp-notification-handler "dart"
                         …

Replies: 2 comments 31 replies

Comment options

You must be logged in to vote
30 replies
@noor-tg
Comment options

@noor-tg
Comment options

@mattwparas
Comment options

Answer selected by noor-tg
@noor-tg
Comment options

@noor-tg
Comment options

@mattwparas
Comment options

@mattwparas
Comment options

Comment options

You must be logged in to vote
1 reply
@mattwparas
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