We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb043f commit 0b4bfd4Copy full SHA for 0b4bfd4
lsp-headerline.el
@@ -259,7 +259,7 @@ PATH is the current folder to be checked."
259
260
(defun lsp-headerline--build-file-string ()
261
"Build the file-segment string for the breadcrumb."
262
- (let* ((file-path (buffer-file-name))
+ (let* ((file-path (or (buffer-file-name) ""))
263
(filename (f-filename file-path)))
264
(if-let ((file-ext (f-ext file-path)))
265
(concat (lsp-icons-get-by-file-ext file-ext 'headerline-breadcrumb)
0 commit comments