Alex Ogier

Results 8 comments of Alex Ogier

The fork at https://github.com/spf13/pflag has more features and more active development. I'd recommend using that fork.

If I understand correctly, you'd like to be able to specify the value of a flag provided without an argument, in the same way that a bool flag without an...

`pflag.Value.Type` isn't something I'm aware of. I think this is something @spf13 added, but adding methods to Go interfaces is a pretty strong backwards incompatibility because it can make existing...

That whole section of the docs is kind of crappy. The `VarP` example below that line is also wrong, that function doesn't take a default value and belongs inside a...

Do you have any examples of this? Ideally there shouldn't be any usage of the flag package that is broken by switching to pflag, so docs that describe how to...

For what it's worth, I get similar behavior. In my case it seems that any mapping that contains `` fails to execute. My inserted text is `SuperTabForward`. It's not specific...

So I rooted out the problem. Apparently the way plugins use `` bindings means that their bindings are translated according to `langmap`. At least, setting langmap to anything that intersected...

`langmap=ef` triggers it, for example. Basically, the righthand side of bindings is translated when it gets executed according to langmap. For a silly example, the following works correctly: ``` :set...