mirror of
https://github.com/patstockwell/vim-monokai-tasty.git
synced 2025-11-12 03:43:49 -05:00
add graphql definitions, add vundle to readme
This commit is contained in:
@@ -15,12 +15,19 @@ Add the following to your `.vimrc` and run `PlugInstall`
|
|||||||
Plug 'patstockwell/vim-monokai-tasty'
|
Plug 'patstockwell/vim-monokai-tasty'
|
||||||
```
|
```
|
||||||
|
|
||||||
Works best with these if you write javascript or React
|
For JavaScript or React development, _monokai-tasty_ supports definitions from all these plugins.
|
||||||
|
Add some of these for an even better look and feel:
|
||||||
```vim
|
```vim
|
||||||
Plug 'pangloss/vim-javascript'
|
Plug 'pangloss/vim-javascript'
|
||||||
Plug 'MaxMEllon/vim-jsx-pretty'
|
Plug 'MaxMEllon/vim-jsx-pretty'
|
||||||
Plug 'styled-components/vim-styled-components'
|
Plug 'styled-components/vim-styled-components'
|
||||||
Plug 'elzr/vim-json'
|
Plug 'elzr/vim-json'
|
||||||
|
Plug 'jparise/vim-graphql'
|
||||||
|
```
|
||||||
|
|
||||||
|
If you use _Vundle_:
|
||||||
|
```vim
|
||||||
|
Plugin 'patstockwell/vim-monokai-tasty'
|
||||||
```
|
```
|
||||||
|
|
||||||
## :wolf: Use
|
## :wolf: Use
|
||||||
|
|||||||
@@ -195,6 +195,8 @@ call Highlight("jsObjectSeparator", s:purple, s:none, s:none)
|
|||||||
call Highlight("jsNoise", s:white, s:none, s:none)
|
call Highlight("jsNoise", s:white, s:none, s:none)
|
||||||
call Highlight("jsGlobalNodeObjects", s:magenta, s:none, s:none)
|
call Highlight("jsGlobalNodeObjects", s:magenta, s:none, s:none)
|
||||||
|
|
||||||
|
call Highlight("EcmaScriptTemplateStrings", s:yellow, s:none, s:italic)
|
||||||
|
|
||||||
hi def link jsComment Comment
|
hi def link jsComment Comment
|
||||||
hi def link jsEnvComment Comment
|
hi def link jsEnvComment Comment
|
||||||
hi def link jsCommentTodo Todo
|
hi def link jsCommentTodo Todo
|
||||||
@@ -297,6 +299,12 @@ call Highlight("jsxPunct", s:grey, s:none, s:none)
|
|||||||
call Highlight("jsxCloseString", s:grey, s:none, s:none)
|
call Highlight("jsxCloseString", s:grey, s:none, s:none)
|
||||||
call Highlight("jsxAttrib", s:white, s:none, s:italic)
|
call Highlight("jsxAttrib", s:white, s:none, s:italic)
|
||||||
|
|
||||||
|
" GraphQL
|
||||||
|
call Highlight("graphqlStructure", s:magenta, s:none, s:none)
|
||||||
|
call Highlight("graphqlBraces", s:white, s:none, s:none)
|
||||||
|
call Highlight("graphqlConstant", s:white, s:none, s:none)
|
||||||
|
call Highlight("graphqlType", s:purple, s:none, s:none)
|
||||||
|
|
||||||
" vim
|
" vim
|
||||||
call Highlight("vimParenSep", s:white, s:none, s:bold)
|
call Highlight("vimParenSep", s:white, s:none, s:bold)
|
||||||
call Highlight("vimOperParen", s:light_blue, s:none, s:italic)
|
call Highlight("vimOperParen", s:light_blue, s:none, s:italic)
|
||||||
|
|||||||
Reference in New Issue
Block a user