diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/server.ts | 5 | ||||
-rw-r--r-- | editors/emacs/ra.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts index a7a22fa6f..75e273f37 100644 --- a/editors/code/src/server.ts +++ b/editors/code/src/server.ts | |||
@@ -20,7 +20,10 @@ export class Server { | |||
20 | debug: run | 20 | debug: run |
21 | }; | 21 | }; |
22 | const clientOptions: lc.LanguageClientOptions = { | 22 | const clientOptions: lc.LanguageClientOptions = { |
23 | documentSelector: [{ scheme: 'file', language: 'rust' }] | 23 | documentSelector: [{ scheme: 'file', language: 'rust' }], |
24 | initializationOptions: { | ||
25 | publishDecorations: true, | ||
26 | } | ||
24 | }; | 27 | }; |
25 | 28 | ||
26 | Server.client = new lc.LanguageClient( | 29 | Server.client = new lc.LanguageClient( |
diff --git a/editors/emacs/ra.el b/editors/emacs/ra.el index a0b17f3af..fb73451c1 100644 --- a/editors/emacs/ra.el +++ b/editors/emacs/ra.el | |||
@@ -119,5 +119,10 @@ | |||
119 | (xref--pop-to-location (get-text-property 0 'xref item)))))) | 119 | (xref--pop-to-location (get-text-property 0 'xref item)))))) |
120 | 120 | ||
121 | (add-to-list 'eglot-server-programs '(rust-mode . ("ra_lsp_server"))) | 121 | (add-to-list 'eglot-server-programs '(rust-mode . ("ra_lsp_server"))) |
122 | |||
123 | ; (require 'rust-mode) | ||
124 | ; (define-key rust-mode-map (kbd "C-n") 'workspace-symbols) | ||
125 | |||
126 | (define-key) | ||
122 | (provide 'ra) | 127 | (provide 'ra) |
123 | ;;; ra.el ends here | 128 | ;;; ra.el ends here |