Build Cursor Tab in less than 300 lines of lua

Code completion in Cursor has long fascinated me since it's just so stupid quick. How exactly is it able to figure out what I need so quickly? Well, the short answer is it just runs a small model locally. If that's the case, building our own should be straightforward. Let's create a Neovim plugin that does exactly that! We'll utilize a small model for understanding our code and then completing it.…