Fork me on GitHub
#spacemacs
<
2022-05-28
>
2FO18:05:02

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-johnny19:05:12

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

👍 1
practicalli-johnny19:05:47

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

👍 1
practicalli-johnny19:05:51

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