diff --git a/README.md b/README.md index 853ad51..f521e96 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,19 @@ Add the following to your `.vimrc` and run `PlugInstall` 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 Plug 'pangloss/vim-javascript' Plug 'MaxMEllon/vim-jsx-pretty' Plug 'styled-components/vim-styled-components' Plug 'elzr/vim-json' +Plug 'jparise/vim-graphql' +``` + +If you use _Vundle_: +```vim +Plugin 'patstockwell/vim-monokai-tasty' ``` ## :wolf: Use diff --git a/colors/vim-monokai-tasty.vim b/colors/vim-monokai-tasty.vim index 99783dd..8cc6a7f 100644 --- a/colors/vim-monokai-tasty.vim +++ b/colors/vim-monokai-tasty.vim @@ -195,6 +195,8 @@ call Highlight("jsObjectSeparator", s:purple, s:none, s:none) call Highlight("jsNoise", s:white, 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 jsEnvComment Comment 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("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 call Highlight("vimParenSep", s:white, s:none, s:bold) call Highlight("vimOperParen", s:light_blue, s:none, s:italic)