From 1b211a70c9401d4023c9b4c4d30d4a1cd6de717b Mon Sep 17 00:00:00 2001 From: Patrick Stockwell Date: Wed, 5 Dec 2018 21:22:46 +1100 Subject: [PATCH] add optional extras --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b57359a..aaf22b8 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,25 @@ # vim-monokai-tasty.vim -Inspired by Sublime Text's interpretation of monokai, this colour scheme makes use of cterm color numbers to support VIM running on a wide range of systems. -It focuses mostly on Javascript highlighting, although there are bindings for the standard VIM highlights which will map for most languages. - - -## Dependencies -This plugin works best with a terminal that can render italic text. It will work just fine on terminals that can't, the italic text will appear in inverted colours (black text on blue background for example). -This colour scheme also makes use of syntax definitions from [`vim/pangloss`](https://github.com/pangloss/vim-javascript). The _vim/panglass_ syntax file for javascript is a dependency for the _vim-monokai-tasty_ colour scheme. +Monokai forever! :tada: Inspired by Sublime Text's interpretation of monokai, this colour scheme makes use of cterm color numbers to support VIM running on a wide range of systems. +It has been customised for Javascript highlighting, but works for all languages. ## Installation -Use a plugin manager to install this colour scheme. I recommend [Plug](https://github.com/junegunn/vim-plug). +:electric_plug: I recommend using [Plug](https://github.com/junegunn/vim-plug). Add the following to your `.vimrc` and run `PlugInstall` -``` +```javascript Plug 'patstockwell/vim-monokai-tasty' Plug 'pangloss/vim-javascript' ``` +A few optional extras if you write React +```javascript +Plug 'mxw/vim-jsx' +Plug 'styled-components/vim-styled-components' +``` + ## Use Add to your `.vimrc`: @@ -32,3 +33,8 @@ colorscheme vim-monokai-tasty ![](./example1.png) ![](./example2.png) ![](./example3.png) + +## Dependencies +This plugin works best with a terminal that can render italic text. It will work just fine on terminals that can't, the italic text will appear in inverted colours (black text on blue background for example). +This colour scheme also makes use of syntax definitions from [`vim/pangloss`](https://github.com/pangloss/vim-javascript). The _vim/panglass_ syntax file for javascript is a dependency for the _vim-monokai-tasty_ colour scheme. +