File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 37
37
:group 'lsp-mode
38
38
:package-version '(lsp-mode . " 7.1" ))
39
39
40
+ (defcustom lsp-modeline-code-action-fallback-icon " 💡"
41
+ " Define what should display on the modeline when code actions are available."
42
+ :type 'string
43
+ :group 'lsp-mode
44
+ :package-version '(lsp-mode . " 7.1" ))
45
+
40
46
(defface lsp-modeline-code-actions-face
41
47
'((t :inherit homoglyph))
42
48
" Face used to code action text on modeline."
80
86
(all-the-icons-octicon " light-bulb"
81
87
:face face
82
88
:v-adjust -0.0575 )
83
- (propertize " 💡 " 'face face)))
89
+ (propertize lsp-modeline-code-action-fallback-icon 'face face)))
84
90
85
91
(defun lsp-modeline--code-action-name (actions preferred-code-action-title )
86
92
" Return the code action name from ACTIONS and PREFERRED-CODE-ACTION-TITLE."
You can’t perform that action at this time.
0 commit comments