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 rules for C#/C++ such as IEnumerable<#> and foo <# #1

Closed
kana opened this issue Feb 13, 2012 · 2 comments
Closed

Add rules for C#/C++ such as IEnumerable<#> and foo <# #1

kana opened this issue Feb 13, 2012 · 2 comments
Labels

Comments

@kana
Copy link
Owner

kana commented Feb 13, 2012

  • IEnumerable# -- < -> IEnumerable<#> to complete type parameters.
  • foo # -- < -> foo <# to write comparison expressions as usual.
@kana
Copy link
Owner Author

kana commented Feb 18, 2012

Is it possible to coexist with #14?

@kana
Copy link
Owner Author

kana commented Feb 21, 2012

Resolved by: https://github.com/kana/vim-smartpunc/compare/f607953fb0...7bc9d63e43
It's hard to distinguish both cases, so that the problem is resolved as follows:

  • Typing < inserts < operator, and
  • Typing > reverts < operator, inserts <>, then moves the cursor inside the block.

@kana kana closed this as completed Feb 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant