File tree Expand file tree Collapse file tree 2 files changed +13
-17
lines changed Expand file tree Collapse file tree 2 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 5555 :no-wait t )))
5656
5757(defun lsp-java-boot--sts-add-classpath-listener (_workspace params )
58- (with-lsp-workspace (lsp-find-workspace 'jdtls nil )
59- (lsp-request " workspace/executeCommand"
60- (list :command " sts.java.addClasspathListener"
61- :arguments (gethash " callbackCommandId" params))
62- :no-wait t )))
58+ (ignore
59+ (with-lsp-workspace (lsp-find-workspace 'jdtls nil )
60+ (lsp-request " workspace/executeCommand"
61+ (list :command " sts.java.addClasspathListener"
62+ :arguments (gethash " callbackCommandId" params))
63+ :no-wait t ))))
6364
6465(defun lsp-java-boot--workspace-execute-client-command (_jdt-ls-workspace params )
6566 " PARAMS is the classpath info."
66- (with-lsp-workspace (lsp-find-workspace 'boot-ls nil )
67- (-let (((&hash " command " " arguments " ) params) )
68- ( setf ( nth 2 arguments) ( if ( nth 2 arguments) t :json-false ))
69- (lsp-request " workspace/executeCommand"
70- (list :command command :arguments arguments)
71- :no-wait t ))))
67+ (ignore
68+ (with-lsp-workspace (lsp-find-workspace 'boot-ls nil )
69+ (-let (((&hash " command " " arguments" ) params ))
70+ (lsp-request " workspace/executeCommand"
71+ (list :command command :arguments arguments)
72+ :no-wait t ) ))))
7273
7374(defun lsp-java-boot--lens-backend (_ callback )
7475 " Boot backend.
Original file line number Diff line number Diff line change @@ -158,11 +158,6 @@ A package or type name prefix (e.g. 'org.eclipse') is a valid entry. An import i
158158 (const " messages" )
159159 (const " verbose" )))
160160
161- (defcustom lsp-java-enable-file-watch nil
162- " Defines whether the client will monitor the files for changes."
163- :group 'lsp-java
164- :type 'boolean )
165-
166161(defcustom lsp-java-format-enabled t
167162 " Specifies whether or not formatting is enabled on the language server."
168163 :group 'lsp-java
@@ -445,7 +440,7 @@ PARAMS the parameters for actionable notifications."
445440
446441PARAMS progress report notification data."
447442 (-let [(&hash " status" " complete" ) params]
448- (setq lsp-java-progress-string (propertize (s-replace " % " " %% " status) 'face 'lsp-java-progress-face ))
443+ (setq lsp-java-progress-string (propertize status 'face 'lsp-java-progress-face ))
449444 (when complete
450445 (run-with-idle-timer 0.8 nil (lambda ()
451446 (setq lsp-java-progress-string nil ))))))
You can’t perform that action at this time.
0 commit comments