borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
558 stars 18 forks source link

Candyman markup scope support [feature] #174

Open max-mykhailenko opened 5 years ago

max-mykhailenko commented 5 years ago

I use sublime with gorgeous GitSavvy and I have some problems with syntax highlight when want to view git diff.

Describing image with git diff and example of scope definition.

screen shot 2018-10-07 at 9 09 20 pm

Reproducing:

1. Install GitSavvy
2. Open git diff

Not great, but expected highlight (Oceanic Next):

screen shot 2018-10-07 at 9 11 55 pm
max-mykhailenko commented 5 years ago

More example of scopes in commit message

screen shot 2018-10-07 at 9 39 46 pm screen shot 2018-10-07 at 9 41 26 pm
borela commented 5 years ago

I created a branch with basic support for gitsavvy https://github.com/borela/naomi/tree/candyman-gitsavvy can you review it and see if it covers the plugin?

If you need to modify the color scheme files to send as a pull request, edit the file _git-savvy.scss and compile the main Candyman.scsscheme with CSScheme.