-
Notifications
You must be signed in to change notification settings - Fork 36
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
How to use the case split key-binding? #152
Comments
The case splitting in
The primary reason was to save some typing at the time, and I didn't find myself using the feature enough to continue improving it.
That's because neither of those are ADTs defined in PS. |
Thanks! |
Sorry, I don't know enough (anything really) about vim script, so I couldn't tell. Maybe someone else can help out. |
I saw this StackOverflow answer, where they call
In the definition of the For some reason it seems that branch is not getting triggered? nm <buffer> <silent> <leader>c :call PSCIDEcaseSplit(' ')<CR> with empty string as the On vim 8.2.0343. |
The readme suggests binding that to capitol 'C' - I bound it to lower-case 'c' as it seems challenging to me to also hit the shift key right after hitting ''.
I would expect that putting the cursor on the
_
inand typing
\c'
would split that_
for me. But what it says isE471: Argument required
, and nothing happens.If I run e.g. ":Pcase Either" at that position, it works. But I thought it'd be able to tell the type at that position - kind of wonder what's the point of the keybinding, otherwise.
Also,
:Pcase Boolean
or:Pcase Unit
both tell me e.g. .e.g 'purs ide server: type 'Boolean' not found, or
type 'Unit' not found`.The text was updated successfully, but these errors were encountered: