Skip to content

Commit

Permalink
add check
Browse files Browse the repository at this point in the history
  • Loading branch information
nverno committed Aug 18, 2023
1 parent 687f28f commit 83317b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions clients/lsp-jq.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,27 @@
;; LSP client for jq language.
;;
;;; Code:

(require 'lsp-mode)

(defgroup lsp-jq nil
"LSP support for Jq."
:group 'lsp-mode
:link '(url-link "https://github.com/wader/jq-lsp"))

(defcustom lsp-jq-executable '("jq-lsp")
"Command to run the Jq language server."
(defcustom lsp-clients-jq-server-executable '("jq-lsp")
"The jq language server executable to use."
:group 'lsp-jq
:risky t
:type '(repeat string))

(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection lsp-jq-executable)
:new-connection (lsp-stdio-connection lsp-clients-jq-server-executable)
:major-modes '(jq-mode)
:server-id 'jq-lsp))

(lsp-consistency-check lsp-jq)

(provide 'lsp-jq)
;;; lsp-jq.el ends here

0 comments on commit 83317b5

Please sign in to comment.