SublimeLinter / SublimeLinter-gcc

This linter plugin for SublimeLinter provides an interface to gcc or other gcc-like (cross-)compiler.
MIT License
22 stars 5 forks source link

SublimeLinter 4 compatibility #6

Closed braver closed 6 years ago

braver commented 6 years ago

In SL4 persist.get_syntax() is moved to util.get_syntax(). Please update this plugin like so: https://github.com/SublimeLinter/SublimeLinter-coffeelint/pull/28/files

jfcherng commented 6 years ago

@braver It's already done in https://github.com/jfcherng/SublimeLinter-contrib-gcc/blob/30a1df9ee239c04c18b0181d3c23e330ec847cdc/linter.py#L145-L153

Applied the new API :+1: https://github.com/jfcherng/SublimeLinter-contrib-gcc/blob/b0ab0d4b8595d92908ba54af2096c6ddfeeca93d/linter.py#L22-L27

braver commented 6 years ago

Yeah, the hardcoded version is new. Kinda handy too 😉