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

Turn on parinfer using code comment #5

Open
oakmac opened this issue Nov 6, 2015 · 1 comment
Open

Turn on parinfer using code comment #5

oakmac opened this issue Nov 6, 2015 · 1 comment

Comments

@oakmac
Copy link
Owner

oakmac commented Nov 6, 2015

An interesting idea would be to automatically turn on Parinfer via some sentinel code comment in a file.

Similar to JSHint inline configuration.

@oakmac
Copy link
Owner Author

oakmac commented Nov 14, 2015

After giving this some thought, I think a better approach is to have a flag that tells atom-parinfer to ignore a whole file.

Similar to thoughts in Issue #6, how about:

;; ~~parinfer ignore:file

If atom-parinfer sees this comment anywhere in a file, then it does not allow switching into Indent Mode or Paren Mode on that file.

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

No branches or pull requests

1 participant