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

Allow normal whitespace when reading EditorConfig settings file #162

Merged
merged 2 commits into from
May 8, 2018

Conversation

10sr
Copy link
Member

@10sr 10sr commented May 7, 2018

Currently core-handle fails to parse files that contain whitespaces like line breaks, horizontal space, vertical space, etc.

Fixes #161

@10sr 10sr changed the title Allow normal whitespace when reading EditorConfig settings file WIP Allow normal whitespace when reading EditorConfig settings file May 7, 2018
;; For checking various normal whitespace (line breaks, horizontal space, vertical space, etc.)
(let* ((conf (concat default-directory
"ert-tests/whitespaces/example-editorconfig.txt"))
(handle (editorocnfig-core-handle conf)))
Copy link
Contributor

@jgkamat jgkamat May 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

editorocnfig is spelled wrong here (should be editorconfig) :P

Otherwise, this PR looks right, and seems like the correct solution to me :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗️
You are right! Thanks XP

10sr added 2 commits May 8, 2018 11:07
Currently core-handle fails to parse files that contain whitespaces
like line breaks, horizontal space, vertical space, etc.

#161
@10sr 10sr changed the title WIP Allow normal whitespace when reading EditorConfig settings file Allow normal whitespace when reading EditorConfig settings file May 8, 2018
Copy link
Contributor

@jgkamat jgkamat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@10sr 10sr merged commit 5e64784 into master May 8, 2018
@10sr 10sr deleted the whitespaces branch May 8, 2018 02:44
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.

2 participants