spacemacs

2FO 2022-05-28T18:15:02.555319Z

Good day, How can I disable these`reference`signatures that show up next to functions and def's? e.g:

(defn my-func [arg1 arg2] (stuff arg1 arg2)) 2 references

practicalli-johnny 2022-05-28T19:10:12.352699Z

SPC m T l l or , T l l to toggle lsp-lens-mode, which shows references and number of unit tests

👍 1
practicalli-johnny 2022-05-28T19:12:47.684109Z

Or add lsp-lens-enable nil as a variable to the lsp layer in your Spacemacs configuration

👍 1
practicalli-johnny 2022-05-28T19:13:51.308979Z

For example:

(lsp :variables
          lsp-ui-doc-enable nil       ;; disable all doc popups
          lsp-ui-sideline-enable nil  ;; disable sideline bar for less distraction
          treemacs-space-between-root-nodes nil  ;; no spacing in treemacs views
          lsp-lens-enable nil
          )
This will switch the lens off by default

👍 1