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

Add support for charset and end_of_line #30

Merged
merged 6 commits into from
Jan 8, 2017

Conversation

Mr0grog
Copy link
Owner

@Mr0grog Mr0grog commented Jan 7, 2017

Finally: add support for the last missing official EditorConfig features, end_of_line and charset. All the values listed on the EditorConfig documentation: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties.

Note the charset utf-8-bom is not supported—it is listed but discouraged on the EditorConfig homepage, but not listed at all in the actual docs.

Fixes #23. Depends on #29.

This used to just be a dictionary of strings, which meant parsing logic was distributed all over the codebase and applying the settings was kind of a pain. Now we have an object with reasonable types (integers, enums, booleans, etc) that encapsulates all the parsing logic.

NOTE: this also makes the binary 64-bit only, but TM2 itself is the same (and I am dropping TM1 support), so this should be fine. (64-bit is required for auto property synthesis/)
@Mr0grog Mr0grog merged commit 71a1f7f into master Jan 8, 2017
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