-
Notifications
You must be signed in to change notification settings - Fork 47
Strange behavior with 'e' (end) and 'w' (word) #72
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
Comments
I've noticed it includes dots in word motions but thought it was something I did myself, intentionally, for sake of qualified names. However looking at the source I only ever add You can work around it by disabling the support for these quotes: :let g:haskell_shqq = 0 You probably never used that anyway. :-) |
Well that worked. I also tried to see if it was happening in plain *.sh files and yep, it does. Hit e and w in a bash file containing |
So the definition of a "word" in Vim depends on the buffer-local Which in turn implies that it's probably bad to use Gah. |
Is there something we can do about it? If not, oh well, I've never used quasi-stuff in Haskell yet anyways. I'll leave this issue open in case we can do something. If not, feel free to close it. |
We could work around it on a per-option basis, which assumes we catch all problems and new ones aren't added. Basically let l:iskeyword = &l:iskeyword
syntax include ...
let &l:iskeyword = l:iskeyword Makes the Haskeller in me cringe but I think it's fairly standard for Vimscripting. |
It seems this issue is back. Not sure when it happened but now it is doing regardless of which |
It was added by ab6197b, and can be avoided by adding |
It seems that vim2hs makes
e
behave likeE
andw
asW
(only in *.hs files, of course).I uninstalled it and it went back to normal, so it is something vim2hs is doing. Is this intended? If so, how can it be disabled?
The text was updated successfully, but these errors were encountered: