lsp-grammarly
lsp-grammarly copied to clipboard
lsp-describe-session shows no capabilities
Syntax checking works, however, when I issue lsp-describe-session the capabilities heading has no child headings
Thanks for any pointers how to look into this
I think this issue was the previous server. Can you try the new server and see if it works for you? Thanks!
I get the following. But trying tab on capabilities does nothing. I am concerned because I get LSP :: Error from the Language Server: Request $/getDocumentStatus failed with message: object is not iterable (cannot read property Symbol(Symbol.iterator)) (Internal Error), when I try to run lsp-grammarly-stats.
[-] /home/bevan/projects/bee-lab/diversity-code/r-codes
`-[-] grammarly-ls:26948
|-[-] Buffers
| `-[+] test.txt
`-[+] Capabilities
The function lsp-grammarly-stats is not yet implemented! If you look into the function, it's
(defun lsp-grammarly-stats ()
"Return document state."
(interactive)
(lsp-request-async
"$/getDocumentStatus" `(:uri ,(lsp--buffer-uri))
(lambda (_state)
;; TODO: ..
(user-error "[INFO] Currently WIP")
)))
Hope the information helps!