File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -143,15 +143,21 @@ is an hints in symbols range."
143
143
" Holds the current breadcrumb path-up-to-project segments for
144
144
caching purposes." )
145
145
146
+ ; ; Redefine local vars of `all-the-icons' to avoid bytecode compilation errors.
147
+ (defvar all-the-icons-default-adjust )
148
+ (defvar all-the-icons-scale-factor )
149
+
146
150
(defun lsp-headerline--arrow-icon ()
147
151
" Build the arrow icon for headerline breadcrumb."
148
152
(or
149
153
lsp-headerline-arrow
150
- (setq lsp-headerline-arrow (lsp-icons-all-the-icons-material-icon
151
- " chevron_right"
152
- 'lsp-headerline-breadcrumb-separator-face
153
- " >"
154
- 'headerline-breadcrumb ))))
154
+ (setq lsp-headerline-arrow (let ((all-the-icons-scale-factor 1.0 )
155
+ (all-the-icons-default-adjust 0 ))
156
+ (lsp-icons-all-the-icons-material-icon
157
+ " chevron_right"
158
+ 'lsp-headerline-breadcrumb-separator-face
159
+ " >"
160
+ 'headerline-breadcrumb )))))
155
161
156
162
(lsp-defun lsp-headerline--symbol-icon ((&DocumentSymbol :kind ))
157
163
" Build the SYMBOL icon for headerline breadcrumb."
You can’t perform that action at this time.
0 commit comments