diff --git a/.gitlab/emacs_syntax.png b/.gitlab/emacs_syntax.png new file mode 100644 index 0000000000000000000000000000000000000000..ebc6adc881a8d897663acf4c75d7a348755f7d66 Binary files /dev/null and b/.gitlab/emacs_syntax.png differ diff --git a/.gitlab/vim_syntax.png b/.gitlab/vim_syntax.png new file mode 100644 index 0000000000000000000000000000000000000000..94e52d3afe58231c6ed23720618d36cd97d3cff9 Binary files /dev/null and b/.gitlab/vim_syntax.png differ diff --git a/README.md b/README.md index 6d28dd3d95fa6103b41703bb4e86bddcf450dc2e..b78f2dd45888e41cae1aa8283701ec6e161baf10 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,24 @@ sudo make update-shells prefix=/usr # Vim/NeoVim Syntax Highlighting Plugin -We do have an [officially-supported syntax highlighting plugin](https://gitlab.redox-os.org/redox-os/ion-vim) for all the -vim/nvim users out there. +For vim/nvim users there is an [officially-supported syntax highlighting plugin](https://gitlab.redox-os.org/redox-os/ion-vim). ```vimscript Plugin 'vmchale/ion-vim' ``` -![Screenshot of Syntax Highlighting](https://i.imgur.com/JzZp7WT.png) +![Vim Syntax Highlighting](.gitlab/vim_syntax.png) + +# Emacs Syntax Highlighting Plugin + +For emacs users there is a [kindly-supported syntax highlighting plugin](https://github.com/iwahbe/ion-mode). + +```emacs +(add-to-list 'load-path (expand-file-name "/path/to/ion-mode")) +(require 'ion-mode) +(autoload 'ion-mode (locate-library "ion-mode") "Ion majore mode" t) +(add-to-list 'auto-mode-alist '("\\.ion\\'" . ion-mode)) +(add-to-list 'auto-mode-alist '("/ion/initrc" . ion-mode)) +``` + +![Emacs Syntax Highlighting](.gitlab/emacs_syntax.png)