vim-ruby/vim-ruby — Issue #68: RubyCursorIdentifier() fails to find ! and ? identifiers
Author: Peeja
Created: 2012-02-10 16:47:31+00:00
State: open

Unless I'm missing something...

1. In a Ruby file, enter:
```ruby
foo.bar!
baz.quux?
```
2. Position the caret in the word `bar!` and press ``.
3. Vim tries to find the tag `foo`.
4. Position the caret in the word `quux!` and press ``.
5. Vim tries to find the tag `baz`.

Incidentally, in my .vimrc, I have `?,!` in my `'iskeyword'` for Ruby files, so unmapping vim-ruby's `` makes this work again. Would that not be a better approach for tags? It looks like `RubyCursorIdentifier()` is doing a lot of work to match literals, but I'd never want to tag those.