about | blog | config | notes | github

1. UI Integrations for LSP Mode

lsp-ui provides UI integration for LSP Mode.

2. Configuration

2.1. Setup Dependencies

Let's make sure to configure LSP Mode first.

(require 'init-lsp-mode)

2.2. Package Install

Time to setup the lsp-ui package.

(use-package lsp-ui)

2.3. Sideline Customization

(setq lsp-ui-sideline-show-diagnostics t)
(setq lsp-ui-sideline-show-hover t)
(setq lsp-ui-sideline-show-code-actions t)
(setq lsp-ui-sideline-update-mode 'line)
(setq lsp-ui-sideline-delay 0.2)

2.4. Feature Provide

(provide 'init-lsp-ui)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)