Donatas

Results 43 comments of Donatas

I first thought that I should check the buffer filetype as you can see in this commit [`2941f5b` (#1242)](https://github.com/nvim-lualine/lualine.nvim/pull/1242/commits/2941f5b2cc3660fcb9671bbfe4ff15532a1f74eb) But I ran into some issues where I presume lualine updates...

This approach is perfect for your own server state, but it is I guess "polluting" the global server state, what I had in my mind was to build a middleware...

hmm, so if I wanted to download a custom middleware from crates.io and it has configuration options, I would need to implement something on my current server state? But implementations...

> So the problem is to prepare thruster to accept external middleware (plugins? libraries?) Yeah, thats what I had in mind

@trezm any progress on this? I'm pretty excited about it

> A customer authentication setup is hard -- there needs to be some way of storing authentication per request or per context. That requires either each context to have a...

Looks awesome, will play around with this soon and check if I have any suggestions

Okay, so I almost have created a fully external middleware, the only thing that's left is that I had to import the `context_state!` trait to constraint the context. `main.rs` ```rust...

Okay, this is cool and now I can actually create fully external middleware. But I am stuck on a certain feature that I want to add to my rate limit...

@trezm If you're talking about jab, then the repo does not have the non-compiling code, but its a really simple change, please add these 2 lines at the top of...