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

Crystal support #63

Closed
bfontaine opened this issue Sep 8, 2014 · 2 comments
Closed

Crystal support #63

bfontaine opened this issue Sep 8, 2014 · 2 comments

Comments

@bfontaine
Copy link

Hello,

I’d like to add support for Crystal, which syntax is heavily inspired by Ruby: I think the rules will be the same as Ruby except one more keyword: macro, which is used like def but executed at compile-time.

I don’t understand what are b:endwise_pattern and b:endwise_syngroups for. Would you explain them?
Thanks.

yous added a commit to yous/vim-endwise that referenced this issue Dec 11, 2014
Crystal has almost same syntax with Ruby, but some keywords. Added
`ifdef`, `macro`, `struct`, `union`, `enum`. Also there can be
`abstract` before the `class` keyword.

See http://crystal-lang.org/docs/ for details.
yous added a commit to yous/vim-endwise that referenced this issue Dec 11, 2014
Crystal has almost same syntax with Ruby, but some keywords. Added
`lib`, `ifdef`, `macro`, `struct`, `union`, `enum`. Also there can be
`abstract` before the `class` keyword.

See http://crystal-lang.org/docs/ for details.
@yous
Copy link
Contributor

yous commented Dec 11, 2014

I created #73 for this.

@bfontaine
Copy link
Author

Great!

@tpope tpope closed this as completed in b97bb84 Dec 11, 2014
tpope added a commit that referenced this issue Dec 11, 2014
phongvcao pushed a commit to phongvcao/vim-endwise that referenced this issue May 24, 2015
Crystal has almost same syntax with Ruby, but some keywords. Added
`lib`, `macro`, `struct`, `union`, `enum`, `ifdef`. Also there can be
`abstract` before the `class` keyword.

See http://crystal-lang.org/docs/ for details.
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

2 participants