Libro

Results 21 comments of Libro

I wrote this simple Python code to check how they're handling these optional proto2 fields (took **tests/protos_for_test/jspb.proto** definition): ```python import sys from google.protobuf.json_format import MessageToJson from google.protobuf.json_format import Parse as...

Yeah, many things happened and I almost forgot about this project :) I'll take a look on this week, need to remember what did I do and why did I...

I'd like to ask you (something I mentioned in previous messages) before I'll read some code: do we really need **.Union**'s in generated code? If optional/required fields are only about...

For now I made that if struct field has the default value (no matter if it's proto2 or proto3 default created by code generation) than I will compare with it...

Oh, there's strwidth() function in vim (vim.fn.strwidth if calling from Lua). ```:lua print(vim.inspect(vim.fn.strwidth("😀")))``` returns 2 as expected

Upd: made it work with emojis and non-printables - e.g. byte 0xffff (*ef bf bf* in UTF-8) occupies 6 bytes and looks like **\** - it all handles fine via...

I didn't recognize it earlier but these changes breaks cellular automaton :) Because now grid elements can have different display width there are many side effects. E.g. look at this...

Now I decided (to not break cellular automaton logic) to replace all multicolumn symbols (and also tabs) with corresponding amount or **replacers** (now it's a **\@** symbol with **WarningMsg** highlight...

P.P.P.S. Changed the way how I'm iterating over symbols in line (**virtcol()** and **strcharpart()** were very useful), also fixed grid filling where **winsaveview()**.leftcol > 0. Even though I had time...

Looks like you didn't have time last month and I also forgot about this PR as well :) I fixed all existing test fails. The strangest one was "stack overflow"...