don't advertise pull diagnostics if fennel-ls uses push diagnostics

This commit is contained in:
XeroOl 2023-07-20 09:27:19 -05:00
parent eb1fe781b8
commit e7c642e12a

View File

@ -40,7 +40,7 @@ Every time the client sends a message, it gets handled by a function in the corr
;; :documentFormattingProvider nil ;; :documentFormattingProvider nil
;; :documentRangeFormattingProvider nil ;; :documentRangeFormattingProvider nil
;; :documentOnTypeFormattingProvider nil ;; :documentOnTypeFormattingProvider nil
:renameProvider {:workDoneProgress false} :renameProvider {:workDoneProgress false}})
;; :foldingRangeProvider nil ;; :foldingRangeProvider nil
;; :executeCommandProvider nil ;; :executeCommandProvider nil
;; :selectionRangeProvider nil ;; :selectionRangeProvider nil
@ -51,7 +51,8 @@ Every time the client sends a message, it gets handled by a function in the corr
;; :typeHierarchyProvider nil ;; :typeHierarchyProvider nil
;; :inlineValueProvider nil ;; :inlineValueProvider nil
;; :inlayHintProvider nil ;; :inlayHintProvider nil
:diagnosticProvider {:workDoneProgress false}}) ;; ;; this is for PULL diagnostics, but fennel-ls currently does PUSH diagnostics
;; :diagnosticProvider {:workDoneProgress false}})
;; :workspaceSymbolProvider nil ;; :workspaceSymbolProvider nil
;; :workspace {:workspaceFolders nil ;; :workspace {:workspaceFolders nil
;; :documentOperations {:didCreate nil ;; :documentOperations {:didCreate nil