From f5caf3134fd4eb678cfd3d386525956d69b9712b Mon Sep 17 00:00:00 2001 From: Connor Prussin Date: Sun, 5 Aug 2018 19:58:22 -0700 Subject: [PATCH] Add smartparens icon --- icons/smartparens.xpm | 29 +++++++++++++++++++++++++++++ mode-icons.el | 1 + 2 files changed, 30 insertions(+) create mode 100644 icons/smartparens.xpm diff --git a/icons/smartparens.xpm b/icons/smartparens.xpm new file mode 100644 index 0000000..08d8d84 --- /dev/null +++ b/icons/smartparens.xpm @@ -0,0 +1,29 @@ +/* XPM */ +static char * smartparens_xpm[] = { +"16 16 10 1", +" c None", +". c #225A9B", +"+ c #215A9B", +"@ c #23599C", +"# c #225A9C", +"$ c #235A9B", +"% c #22599B", +"& c #235B9B", +"* c #23599B", +"= c #21599B", +" ", +" ", +" .. +. ", +" @.# .. ", +" .. .. ", +" .. .+ ", +" ..$ .. ", +" ..+ .. ", +" %.+ .. ", +" ..& .. ", +" .. .. ", +" .. #. ", +" +.* .. ", +" .. =. ", +" ", +" "}; diff --git a/mode-icons.el b/mode-icons.el index e47f9df..6bd72a2 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -239,6 +239,7 @@ This was stole/modified from `c-save-buffer-state'" ("\\` ?AC\\'" #xf18e FontAwesome) ("\\` ?Fly\\'" #xea12 IcoMoon-Free) ("\\` ?FlyC.*\\'" "flycheck" xpm) + ("\\` ?SP\\(/s\\)?\\'" "smartparens" xpm) ("\\` ?Ergo" #xf11c FontAwesome) ("\\` ?drag\\'" #xf047 FontAwesome) ("\\` ?Helm\\'" "helm" xpm-bw) ;; By Noe Araujo, MX, https://thenounproject.com/term/helm/233101/