;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\302\303\304\305\306\301\307\310&\210\311\312\313\314\315DD\316\317\320\306\303&\207" [require lsp-mode custom-declare-group lsp-icons nil "LSP icons" :group :tag "LSP Icons" custom-declare-variable lsp-headerline-breadcrumb-icons-enable funcall function #[0 "\300\207" [t] 1] "If non-nil, icons support is enabled for headerline-breadcrumb." :type boolean] 8) #@62 Check if icons support is enabled for FEATURE. (fn FEATURE) (defalias 'lsp-icons--enabled-for-feature #[257 "\211\301=\203\207\302\207" [lsp-headerline-breadcrumb-icons-enable headerline-breadcrumb t] 3 (#$ . 475)]) #@79 Fix IMAGE background if it is a file otherwise return as an icon. (fn IMAGE) (defalias 'lsp-icons--fix-image-background #[257 "\211\203>\300\301\302#\211<\203-\303\304A!\305\"\203-\306\307\302\310\311\304A!\312\313\314\312\315\316$#B#\207\211;\2038\317\320\321#\207\317\320\321#\207\321\207" [get-text-property 0 display plist-member cl-copy-list :type propertize " " image plist-put :background face-attribute header-line nil t replace-regexp-in-string " \\| " ""] 14 (#$ . 701)]) #@148 Get an icon by file FILE-EXT. FEATURE is the feature that will use the icon which we should check if its enabled. (fn FILE-EXT &optional FEATURE) (defalias 'lsp-icons-get-by-file-ext #[513 "\205\300!\205\301\302!\205\303\302!!\207" [lsp-icons--enabled-for-feature functionp lsp-treemacs-get-icon lsp-icons--fix-image-background] 5 (#$ . 1201)]) #@142 Get an icon by symbol KIND. FEATURE is the feature that will use the icon which we should check if its enabled. (fn KIND &optional FEATURE) (defalias 'lsp-icons-get-by-symbol-kind #[513 "\205\300!\205\301\302!\205\303\302!!\207" [lsp-icons--enabled-for-feature functionp lsp-treemacs-symbol-icon lsp-icons--fix-image-background] 5 (#$ . 1563)]) #@256 Get a material icon from all-the-icons by ICON-NAME using FACE. Fallback to FALLBACK string if not found or not available. FEATURE is the feature that will use the icon which we should check if its enabled. (fn ICON-NAME FACE FALLBACK &optional FEATURE) (defalias 'lsp-icons-all-the-icons-material-icon #[1027 "\300\301!\203\302!\203\301\303#\207\304\305#\207" [functionp all-the-icons-material lsp-icons--enabled-for-feature :face propertize face] 8 (#$ . 1925)]) (defconst lsp-icons-plist-value-when-compiled nil) (provide 'lsp-icons)