While reading the question I thought: "That's not how Watts work", but then this "answer" hit...
Gobbel2000
joined 2 years ago
Like someone noted in the vimtex issue you linked, I use UltiSnips together with snippet definitions from vim-snippets, which works pretty well with the begin
snippet. vim-snippets
includes a bunch more snippets too which I find quite useful, particularly for LaTeX. I don't know the vsnip
plugins you mentioned but they can probably do the same.
I am also very interested in seeing what the next generation of Rust-inspired languages will look like, and not because I am dissatisfied with Rust today. Rust has significantly raised the bar of how a good programming needs to work and any new language in the systems programming area (and beyond) will inevitably be compared to it.
view more: next ›
I don't think there is a good way of having references within the same struct, but you could store reference counted matches:
You would still have to make sure that the
players
map is updated, maybe weak references are useful there.Maybe you could also consider storing the players of a match in the match itself, not outside.