4 Commits

Author SHA1 Message Date
Ingo Karkat b2e4a70454 ingo#list#sequence#FindNumerical(): Check for pure number elements
Reuse s:NotAChar() as s:NotRightType() and throw such exception (for flow control; yeah, smelly, but still more elegant than returning and testing for a special value or additional flag). Add tests.
2017-10-01 20:22:06 +02:00
Ingo Karkat 9a9c72c29e FIX: Remove forgotten :debug 2017-10-01 20:21:42 +02:00
Ingo Karkat 536793f00a BUG: Need to throw a String in s:NotAChar()
Else, this error will be raised:
> Exception thrown: Vim(throw):E121: Undefined variable: NotAChar
Stupid mistake, little damage: As the error also contains the String, the :catch clause still matches.
2017-09-21 12:36:37 +02:00
Ingo Karkat c9f49a0856 Add ingo/list/sequence.vim module 2017-08-12 21:25:01 +02:00