This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-12
Channels
- # announcements (4)
- # asami (3)
- # babashka (18)
- # babashka-sci-dev (2)
- # beginners (55)
- # calva (18)
- # clj-commons (23)
- # clj-kondo (2)
- # cljfx (7)
- # cljs-dev (15)
- # clojure (96)
- # clojure-europe (43)
- # clojure-losangeles (3)
- # clojure-nl (2)
- # clojure-uk (11)
- # clojurescript (1)
- # datalevin (2)
- # datomic (10)
- # events (1)
- # google-cloud (4)
- # gratitude (16)
- # helix (3)
- # hyperfiddle (63)
- # inf-clojure (13)
- # introduce-yourself (4)
- # ipfs (2)
- # jobs (2)
- # jobs-discuss (12)
- # leiningen (7)
- # lsp (15)
- # off-topic (38)
- # polylith (24)
- # portal (27)
- # remote-jobs (8)
- # sci (27)
- # spacemacs (5)
- # specter (1)
- # sql (5)
- # xtdb (41)
I've greatly simplified the LSP layer configuration I was using. Most visual elements are toned down or disabled by default, except for the slideline bar and documentation pop-ups. The lsp layer configuration I am currently using disables the sideline bar and documentation pop-ups. The config also maximises the space in all treemacs views for LSP
(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
)
My doom config is pretty similar to that :) after quite some time using lsp I realized I didn't need most lsp-ui features too
Thank you for helping to simplify the defaults in LSP UI, its much appreciated.
I use this config:
(lsp :variables
;; useless popup
;;
lsp-ui-doc-enable nil
lsp-ui-sideline-enable t
;;lsp-ui-sideline-show-hover t
;;lsp-ui-sideline-show-diagnostics t
lsp-ui-sideline-show-code-actions t
;; the line is very tall, disable it
;;
lsp-headerline-breadcrumb-enable nil
)
The LSP update and support for the http://FreeDesktop.org XDG basedir specification have been pushed to https://github.com/practicalli/spacemacs.d/ - my configuration for Spacemacs, now running in ~/.config/spacemacs
directory
• simplified lsp layer (as in previous post)
• XDG basedir specification - custom files relative to dotspacemacs-directory so will work from ~/.config/spacemacs
or ~/.spacemacs.d/
directories
• Customize variables section split into its own file, simplifying the versioning of the Spacemacs init.el file
• Treemacs history files saved to user-emacs .cache directory