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 d198100 commit a27d122Copy full SHA for a27d122
lsp-dart-flutter-fringe.el
@@ -81,10 +81,10 @@ Increase for a better performance."
81
(save-excursion
82
(goto-char (point-min))
83
(while (re-search-forward lsp-dart-flutter-fringe-color-name-pattern nil t)
84
- (let ((color (concat "#" (-> (match-string 1)
85
- (assoc lsp-dart-flutter-colors)
86
- cdr))))
87
- (lsp-dart-flutter-fringe--add-color color buffer (point-at-bol))))
+ (if-let ((color (-> (match-string 1)
+ (assoc lsp-dart-flutter-colors)
+ cdr)))
+ (lsp-dart-flutter-fringe--add-color (concat "#" color) buffer (point-at-bol))))
88
89
(while (re-search-forward lsp-dart-flutter-fringe-color-hex-pattern nil t)
90
(let ((color (concat "#" (substring (match-string 1) 2))))
0 commit comments