gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

SublimeText 4 support #110

Closed franck-paul closed 3 years ago

franck-paul commented 3 years ago

The gutter icons are not displayed with ST4 as the code only test a version beginning with 3 (line 14) and so ST4 is treated as ST2:

IS_ST3 = sublime.version().startswith('3')
franck-paul commented 3 years ago

Replacing this line (14) by:

IS_ST3 = sublime.version().startswith('3') or sublime.version().startswith('4')

Solve this issue

gornostal commented 3 years ago

Sorry for the late reply. I'm not planning to maintain Modific anymore. It looks like the built-in git support is pretty good in ST now.

franck-paul commented 3 years ago

You're right, the built-in git support is nice in ST4 (see https://www.sublimetext.com/docs/git_integration.html).