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
;; :documentRangeFormattingProvider nil
;; :documentOnTypeFormattingProvider nil
:renameProvider {:workDoneProgress false}
:renameProvider {:workDoneProgress false}})
;; :foldingRangeProvider nil
;; :executeCommandProvider 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
;; :inlineValueProvider nil
;; :inlayHintProvider nil
:diagnosticProvider {:workDoneProgress false}})
;; ;; this is for PULL diagnostics, but fennel-ls currently does PUSH diagnostics
;; :diagnosticProvider {:workDoneProgress false}})
;; :workspaceSymbolProvider nil
;; :workspace {:workspaceFolders nil
;; :documentOperations {:didCreate nil