Answer the question
In order to leave comments, you need to log in
How to change path in plugin for SublimeLinter?
On OS X 10.10.3, I installed Sublime text 3 and the SublimeLinter plugin on top of it.
Installed the SublimeLinter-htmltidy plugin on the plugin.
This plugin requires tidy which is located in : /usr/bin/tidy
BUT it is a very old 2006 version.
So a new one was installed via brew, tidy5. It lies in /usr/local/bin/tidy5
In .bash_profile paths of variables are registered, tidy5 is available from the terminal.
According to the logs, the linter starts like this along the old path and the old tidy works:
SublimeLinter: htmltidy: index.html ['/usr/bin/tidy', '-errors', '-quiet', '-utf8']
"sublimelinter_executable_map":
{
"htmltidy": "/usr/local/bin/tidy5"
}
"paths": {
"linux": [],
"osx": ["/usr/local/bin/tidy5"],
"windows": []
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question