Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update get_pref() to allow settings inside Sublime project files #706

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TomAnthony
Copy link

I use this plugin, but across an array of projects, some of which I want to be prettified on save, and others I don't. I use .sublime-project files and many related plugins (e.g. isort, sublack) allow settings entries in that file for per-project settings.

This PR brings that functionality to Sublime-HTMLPrettify, allowing settings in .sublime-project files (with a prefix).

For example if you want to update the format_on_save in a .sublime-project file you can add in:

"settings":
{
	"HTMLPrettify.format_on_save": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant