Hello, how to set SublimeLinter-lua to custom syntax (e.g. Lua (MTASA))? Linter works when selected native syntax “Lua”, but not work on my syntax “Lua (MTASA)”. Thank.
Sublime Linter for custom syntax
Add it to your \Sublime Text 3\Packages\User\SublimeLinter.sublime-settings in the syntax_map field:
"syntax_map": {
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"php": "html",
"python django": "python",
"pythonimproved": "python"
},
[quote=“bizoo”]Add it to your \Sublime Text 3\Packages\User\SublimeLinter.sublime-settings in the syntax_map field:
"syntax_map": {
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"php": "html",
"python django": "python",
"pythonimproved": "python"
},
[/quote]
I tried it before, not work
As it works for me for PythonImproved, I recommend to try it again.
Look like every entry are lowercase, but not sure it’s mandatory.
Ou, i inscribe to syntax_map name of syntax from
<key>name</key>
<string>Lua (MTASA)</string>
but required filename.
Thank anyway.