Skip to content

Commit a584501

Browse files
committed
Use crystalline instead of scry for Crystal (emacs-lsp#4003)
1 parent d5c6bc4 commit a584501

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
one installed by lsp-mode.
7272
* Add [[https://github.com/charliermarsh/ruff-lsp][ruff-lsp]] support (additional server for Python).
7373
* Update documentation of Vue3 install server
74+
* Change Crystal server from ~scry~ to ~crystalline~
7475
** Release 8.0.0
7576
* Add ~lsp-clients-angular-node-get-prefix-command~ to get the Angular server from another location which is still has ~/lib/node_modules~ in it.
7677
* Set ~lsp-clients-angular-language-server-command~ after the first connection to speed up subsequent connections.

clients/lsp-crystal.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@
2626

2727
(require 'lsp-mode)
2828

29-
(defgroup lsp-scry nil
30-
"LSP support for Crystal via scry."
29+
(defgroup lsp-crystalline nil
30+
"LSP support for Crystal via crystalline."
3131
:group 'lsp-mode
32-
:link '(url-link "https://github.com/crystal-lang-tools/scry"))
32+
:link '(url-link "https://github.com/elbywan/crystalline"))
3333

34-
(defcustom lsp-clients-crystal-executable '("scry" "--stdio")
35-
"Command to start the scry language server."
36-
:group 'lsp-scry
34+
(defcustom lsp-clients-crystal-executable '("crystalline" "--stdio")
35+
"Command to start the crystalline language server."
36+
:group 'lsp-crystalline
3737
:risky t
3838
:type 'file)
3939

4040
(lsp-register-client
4141
(make-lsp-client :new-connection (lsp-stdio-connection lsp-clients-crystal-executable)
4242
:major-modes '(crystal-mode)
43-
:server-id 'scry))
43+
:server-id 'crystalline))
4444

4545
(lsp-consistency-check lsp-crystal)
4646

docs/lsp-clients.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@
128128
{
129129
"name": "crystal",
130130
"full-name": "Crystal",
131-
"server-name": "scry",
132-
"server-url": "https://github.com/crystal-lang-tools/scry",
133-
"installation-url": "https://github.com/crystal-lang-tools/scry#installation",
131+
"server-name": "crystalline",
132+
"server-url": "https://github.com/elbywan/crystalline",
133+
"installation-url": "https://github.com/elbywan/crystalline#installation",
134134
"debugger": "Not available"
135135
},
136136
{

0 commit comments

Comments
 (0)