atom-parinfer
atom-parinfer copied to clipboard
Turn on parinfer using code comment
An interesting idea would be to automatically turn on Parinfer via some sentinel code comment in a file.
Similar to JSHint inline configuration.
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.