mirror of
https://github.com/patstockwell/vim-monokai-tasty.git
synced 2025-11-09 18:33:50 -05:00
add optional extras
This commit is contained in:
24
README.md
24
README.md
@@ -1,24 +1,25 @@
|
|||||||
# vim-monokai-tasty.vim
|
# 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.
|
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 focuses mostly on Javascript highlighting, although there are bindings for the standard VIM highlights which will map for most languages.
|
It has been customised for Javascript highlighting, but works for all 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.
|
|
||||||
|
|
||||||
## Installation
|
## 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`
|
Add the following to your `.vimrc` and run `PlugInstall`
|
||||||
|
|
||||||
```
|
```javascript
|
||||||
Plug 'patstockwell/vim-monokai-tasty'
|
Plug 'patstockwell/vim-monokai-tasty'
|
||||||
Plug 'pangloss/vim-javascript'
|
Plug 'pangloss/vim-javascript'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
A few optional extras if you write React
|
||||||
|
```javascript
|
||||||
|
Plug 'mxw/vim-jsx'
|
||||||
|
Plug 'styled-components/vim-styled-components'
|
||||||
|
```
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|
||||||
Add to your `.vimrc`:
|
Add to your `.vimrc`:
|
||||||
@@ -32,3 +33,8 @@ colorscheme vim-monokai-tasty
|
|||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
## 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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user