D
D
Dmitrii Solovev2015-05-29 17:06:41
HTML
Dmitrii Solovev, 2015-05-29 17:06:41

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']

In the linter config, I tried to write the path like this:
"sublimelinter_executable_map":
            {
              "htmltidy": "/usr/local/bin/tidy5"
            }

so:
"paths": {
            "linux": [],
            "osx": ["/usr/local/bin/tidy5"],
            "windows": []
        },

and a couple of dozen different manipulations.
There is no result, it starts with the old one.
Entire
config How can I change it so that the linter takes a new tidy at startup? Where does its standard path change?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question