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

Support whitespace control liquid tags; fix single line if/endif indentation issue #19

Merged
merged 1 commit into from Jul 1, 2020
Merged

Support whitespace control liquid tags; fix single line if/endif indentation issue #19

merged 1 commit into from Jul 1, 2020

Conversation

foundObjects
Copy link
Contributor

This PR is two small patches -- the first adds support for liquid tags using whitespace control syntax, the second is a patch from @sikachu fixing an indentation issue when an if/endif tag pair occurs on the same line.

Both patches seem to work fine here, I've been working with liquid files using them for the past week, but I'm no vim script expert so I'd appreciate any feedback.

@tpope
Copy link
Owner

tpope commented Jun 30, 2020

Can you do a clean rebase without a merge? I made an attempt at this myself and went cross-eyed trying to understand the conflict.

@tpope
Copy link
Owner

tpope commented Jun 30, 2020

I just cherry-picked the first commit, hopefully that makes things easier.

@foundObjects
Copy link
Contributor Author

No problem, I just did a quick rebase of my patch on top of your work plus the cherry-pick. How does this look now?

@tpope tpope merged commit 94bd2ea into tpope:master Jul 1, 2020
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.

None yet

2 participants