diff options
-rw-r--r-- | CHANGELOG.md | 32 | ||||
-rw-r--r-- | icons/go.xpm | 74 | ||||
-rw-r--r-- | mode-icons.el | 30 |
3 files changed, 136 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1e902da --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,32 @@ +# Change Log +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). + +## [Unreleased] +### Added +- CSS mode icon. +- Coffee mode icon. +- Compilation mode icon. +- Emacs Speaks Statistics (R) mode icon. +- Haml mode icon. +- Image mode icon for ImageMagick. +- Inf-Ruby mode icon. +- JavaScript mode icon. +- Projectile Rails Server mode icon. +- Ruby mode icon. +- Sass/Scss mode icon. +- Shell-script mode icon. +- Slim mode icon. +- Snippet mode icon. +- Term mode icon. +- Web mode icon. +- XML mode icon. +- YAML mode icon. +- YASnippet minor-mode icon. +- nXML mode icon. +- Showing icons for minor modes. +- Go mode icon. +- Customization options. +- Lisp Interaction mode icon. + +[Unreleased]: https://github.com/ryuslash/mode-icons/compare/0.1.0...HEAD diff --git a/icons/go.xpm b/icons/go.xpm new file mode 100644 index 0000000..9a8bffb --- /dev/null +++ b/icons/go.xpm @@ -0,0 +1,74 @@ +/* XPM */ +static char * golang_xpm[] = { +"17 17 54 1", +" c None", +". c #74AAB4", +"+ c #C0DFE4", +"@ c #A0D1D9", +"# c #70C9D6", +"$ c #D5F3F9", +"% c #B8DADE", +"& c #5F9199", +"* c #78B1BB", +"= c #BEBFC0", +"- c #DCF2F6", +"; c #7CC8D6", +"> c #C9D2D3", +", c #D8E3E5", +"' c #7EB6C0", +") c #7BC2CE", +"! c #A2B6B9", +"~ c #C3D8D8", +"{ c #677F7D", +"] c #9CB0B0", +"^ c #B0D8DE", +"/ c #83D1DE", +"( c #77CFDD", +"_ c #7EC9D5", +": c #78ADB1", +"< c #716558", +"[ c #77B4BA", +"} c #6BC7D5", +"| c #71CEDD", +"1 c #73CEDD", +"2 c #72CEDD", +"3 c #7ECAD6", +"4 c #A9C8CB", +"5 c #79CAD7", +"6 c #74CEDD", +"7 c #73CEDE", +"8 c #6ED1E0", +"9 c #74CFDE", +"0 c #75CFDE", +"a c #6FCCDC", +"b c #75D0DF", +"c c #76D0DF", +"d c #6DC8D9", +"e c #7CB8BB", +"f c #72CAD8", +"g c #72CAD9", +"h c #73CAD9", +"i c #78AEB0", +"j c #94A393", +"k c #6EC1CE", +"l c #6EC3D2", +"m c #6EC4D3", +"n c #6DC0CE", +"o c #8E9482", +" ", +" ", +" .+@#$%& ", +" *=-;>,' ", +" )!~{]^/ ", +" (_:<[}| ", +" 1234516 ", +" 6678766 ", +" 6666666 ", +" 6666666 ", +" 6666666 ", +" 9666660 ", +" ab969cd ", +" efg6ghi ", +" jkl9mno ", +" ", +" "}; diff --git a/mode-icons.el b/mode-icons.el index 23a0ed6..f13681e 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -22,7 +22,33 @@ ;;; Commentary: +;; This package provides a globalized minor mode that replaces the +;; major mode name in your mode-line and places like Ibuffer with an +;; icon. Currently the following programming modes are supported, +;; along with some other modes: ;; +;; - CSS +;; - Coffee +;; - Emacs-Lisp +;; - HTML +;; - Haml +;; - JavaScript +;; - Lisp +;; - nXML +;; - PHP +;; - Python +;; - Ruby +;; - Sass/Scss +;; - Scheme +;; - Shell-script +;; - Slim +;; - Snippet +;; - Web +;; - Yaml +;; +;; To enable this minor mode add the following line to your init file: +;; +;; (mode-icons-mode) ;;; Code: (defgroup mode-icons nil @@ -48,6 +74,7 @@ absolute path to ICON." ("Coffee" "coffee" xpm) ("Compilation" "compile" xpm) ("Emacs-Lisp" "emacs" xpm) + ("Lisp Interaction" "emacs" xpm) ("HTML" "html" xpm) ("Haml" "haml" xpm) ("Image[imagemagick]" "svg" xpm) @@ -57,6 +84,7 @@ absolute path to ICON." ("nXML" "xml" xpm) ("Org" "org" xpm) ("PHP" "php" xpm) + ("PHP/l" "php" xpm) ("Projectile Rails Server" "rails" xpm) ("Python" "python" xpm) ("Ruby" "ruby" xpm) @@ -67,6 +95,7 @@ absolute path to ICON." ("Scheme" "scheme" xpm) ("Shell-script" "bash" xpm) ("Slim" "slim" xpm) + ("Snippet" "yas" xpm) ("Term" "term" xpm) ("Web" "html" xpm) ("XML" "xml" xpm) @@ -74,6 +103,7 @@ absolute path to ICON." ("YASnippet" "yas" xpm) (" yas" "yas" xpm) (" hs" "hs" xpm) + ("Go" "go" xpm) (" Rbow" "rainbow" xpm) ;; Diminished modes ;; ("\\(ElDoc\\|Anzu\\|SP\\|Guide\\|PgLn\\|Golden\\|Undo-Tree\\|Ergo.*\\|,\\)" nil nil) |