Skip to content

Modeline#

lsp-modeline-code-action-fallback-icon#

Type: string

Default: 💡

Define what should display on the modeline when code actions are available.


lsp-modeline-code-actions-enable#

Type: boolean

Default: t

Whether to show code actions on modeline.


lsp-modeline-code-actions-face#

Type: face

Default: ((t :inherit homoglyph))

Face used to code action text on modeline.


lsp-modeline-code-actions-kind-regex#

Type: string

Default: $\|quickfix.*\|refactor.*

Regex for the code actions kinds to show in the modeline.


lsp-modeline-code-actions-preferred-face#

Type: face

Default: ((t :foreground yellow))

Face used to code action text on modeline.


lsp-modeline-code-actions-segments#

Type: (repeat (choice (const :tag Show the lightbulb icon icon) (const :tag Show the name of the preferred code action name) (const :tag Show the count of how many code actions available count)))

Default: (count icon)

Define what should display on the modeline when code actions are available.


lsp-modeline-diagnostics-enable#

Type: boolean

Default: t

Whether to show diagnostics on modeline.


lsp-modeline-diagnostics-scope#

Type: (choice (const :tag File :file) (const :tag Project :workspace) (const :tag All Projects :global))

Default: :workspace

The modeline diagnostics scope.


lsp-modeline-workspace-status-enable#

Type: boolean

Default: t

Whether to show workspace status on modeline.



Last update: December 20, 2024